Futures margin modeling system having seasonality detection

ABSTRACT

A physical container (e.g., a battery) may be filled up (charged) or emptied (discharged) with energy commensurate with requirements to post a particular amount of collateral. The disclosure provides computing systems and methods for processing data using a novel combination of wavelet techniques and rolling techniques to more efficiently detect seasonality in particular products (e.g., energy products) to more accurately model and determine collateral/margin requirements. A clearinghouse computing device may be configured to generate a margin requirement for a portfolio of products and may include a processor to process instructions that cause the clearinghouse computing device to perform wavelet decomposition and rolling methods on a historical database of records.

This application is a continuation under 37 C.F.R. § 1.53(b) of U.S. patent application Ser. No. 15/796,191, filed Oct. 27, 2017, now U.S. Pat. No. 10,867,360, which claims the benefit of the filing date under 35 U.S.C. § 119(e) U.S. Provisional Patent Application Ser. No. 62/414,366, filed Oct. 28, 2016, the entirety of both of which are herein incorporated by reference and relied upon.

TECHNICAL FIELD

Embodiments of the present disclosure relate to systems and methods for filling up or draining a physical container (e.g., a battery) with energy commensurate with requirements to post a particular amount of collateral. More particularly, the disclosure provides computing systems for processing data using a novel combination of wavelet techniques and rolling techniques to more efficiently detect seasonality in particular products, e.g., energy products, to more accurately model and determine collateral/margin requirements.

BACKGROUND

Clearinghouses and other entities that clear trades require traders, such as traders of futures contracts, to maintain performance bonds in margin accounts to cover risks associated with the portfolios. The clearinghouse (e.g., central counterparty to financial products) may use the performance bond to counter margin risk associated with the portfolio. Risks may utilize complex algorithms to be analyzed to determine required initial margin amounts and maintenance margin amounts. A risk calculation module (or risk processor) may assist in the calculation. In some examples, values (e.g., swap DV01s, volatility values, etc.) and adjustments/factors (e.g., calendar charge adjustments, liquidity charge minimums, etc.) may be used to enhance the margin calculation.

Clearinghouses are structured to provide exchanges and other trading entities with solid financial footing. Maintaining proper margin amounts is an important part of the maintaining solid financial footing. The required margin amount generally varies according to the volatility of a financial instrument; the more volatility, the larger the required margin amount. This is to ensure that the bond will sufficiently cover the cumulated losses that a contract would likely incur over a given time period, such as a single day. Required margin amounts may be reduced where traders hold opposite positions in closely correlated markets or spread trades.

Calculating margin amounts can be a challenge, even when computer devices are utilized. In the trading environment the speed with which information can be determined and distributed to market participants can be critical. For example, regulations set time limits for clearing entities to provide margin requirements to market participants after the end of a trading day. Some market participants also expect clearing entities to quickly determine how a potential transaction will impact their margin requirements.

Moreover, the seasonal nature of some products introduces additional variance in the margin calculations of those products. However, identifying which products are seasonal and non-seasonal can be a time-consuming and computationally-intensive process. In some instances, the process can take weeks and months. A more efficient methodology for identifying seasonal products and adjusting for them accordingly is needed.

As the numbers of accounts and transactions increase over a larger field of trading products, it becomes difficult for existing computer systems and processes to determine and communicate pricing, volatility and margin requirements to market participants in the time frames required by regulations or expected by the market participants. Therefore there is a need in the art for more efficient computer systems and computer-implemented methods for processing data to model and determine margin requirements.

SUMMARY

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key or essential features of the invention.

In at least some embodiments, systems and methods for filling up or draining a physical container (e.g., a battery) with energy commensurate with requirements to post a particular amount of collateral. More particularly, the disclosure provides computing systems for processing data using a novel combination of wavelet techniques and rolling techniques to more efficiently detect seasonality in particular products, e.g., energy products, to more accurately model and determine collateral/margin requirements. Some embodiments include computer-readable media storing instructions that, when executed, cause a computer system to perform such methods.

BRIEF DESCRIPTION OF THE DRAWINGS

Some embodiments are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements:

FIG. 1 shows an illustrative trading network environment for implementing trading systems and methods according to aspects of the disclosure;

FIG. 2 shows a block diagram representation of a clearinghouse computing system for calculating a margin requirement according to aspects of the disclosure;

FIG. 3 shows an illustrative method performed using computer-executable instructions when processed by a clearinghouse computing system according to aspects of this disclosure;

FIG. 4 shows an illustrative listing of futures products corresponding to a corresponding commodity according to aspects of the disclosure;

FIG. 5 shows an illustrative chart depicting illustrative time series of settlement pricing information of a futures product having different maturity dates according to aspects of the disclosure;

FIG. 6 shows an illustrative two-sided KS test to analyze time-to-maturity effects on a price daily log return distribution according to aspects of the disclosure;

FIGS. 7 and 8 each show an illustrative charts showing a distribution of samples used in the two-sided KS test for different particular commodities according to aspects of the disclosure;

FIGS. 9-11 show illustrative log-return correlations of the front month contract to the second month contract using an exponential decay model for different financial products according to aspects of this disclosure;

FIG. 12 shows illustrative charts showing traded volume curves for 6 consecutive contracts associated with a particular commodity and a distribution of crossing days for the front and second months contracts according to aspects of the disclosure;

FIG. 13 shows illustrative charts showing open interest curves for 6 consecutive contracts associated with the particular commodity and a distribution of crossing days for the front and second months contracts according to aspects of the disclosure;

FIG. 14 shows an illustrative table showing traded volume analysis associated with a plurality of financial products, according to aspects of the disclosure;

FIG. 15 shows an illustrative table showing open interest statistics associated with a plurality of financial products, according to aspects of the disclosure;

FIG. 16 shows an illustrative chart showing results of a Kolmogorov-Smirnov test for each of a plurality of interpolation methods according to aspects of this disclosure;

FIGS. 17-19 show illustrative histograms for the return distributions a plurality of interpolation methods according to aspects of this disclosure;

FIG. 20 shows an illustrative result table for various commodities according to aspects of the disclosure;

FIG. 21 shows illustrative chart showing an example for the performance of the spline interpolation and PCHIP for coal price data according to aspects of the disclosure;

FIG. 22 illustrates a schematic explanation of the data input into the time series extension according to aspects of the disclosure;

FIGS. 23-26 show illustrative charts showing plots of real versus extended volatility scaled price daily log returns of futures products according to aspects of the disclosure;

FIG. 27 shows an illustrative chart showing explained variance per principal component (PC) with Principal Component Analysis (PCA), a dimension reduction model using orthogonal components, for crude oil according aspects of the disclosure;

FIG. 28 shows an illustrative chart showing explained variance for a threshold selection criteria for a financial product according to aspects of the disclosure;

FIG. 29 shows an illustrative chart showing a number of selected PCs needed to reach the variance explained threshold for a financial product according to aspects of the disclosure;

FIG. 30 shows an illustrative chart showing explained variance using constantly three factors for a financial product according to aspects of the disclosure;

FIG. 31 shows an illustrative chart that represents the time-series of the leading three PC scores of a financial product according to aspects of the disclosure;

FIG. 32 shows an illustrative table corresponding to visual inspection of PC surface stability for the different curves according to aspects of the disclosure;

FIGS. 33 and 34 show illustrative charts showing the insignificance of the autocorrelation and the significance of volatility clustering of the selected PC scores for a financial product according to aspects of the disclosure;

FIGS. 35A-35C show a visual representation of an inspection of PC surface stability for a plurality of curves according to aspects of the disclosure;

FIG. 36 shows an illustrative chart showing dynamic correlation between PC scores using updated PC associated with a financial product according to aspects of the disclosure;

FIG. 37 shows an illustrative chart showing dynamic correlation between PC scores using non-updated PC corresponding to a financial product according to aspects of the disclosure;

FIG. 38 illustrates and quantities the volatility clustering of the residuals, i.e. the non-selected PC scores according to aspects of the disclosure;

FIG. 39 shows a graphical representation of the residuals (e.g., the non-selected PC score) time series for an orthogonal model for a particular underlying commodity of the financial product according to aspects of the disclosure;

FIGS. 40 and 41 show illustrative representations of the residual surface with the 2-Factor model, an alternative dimension reduction method for PCA, for crude oil with and without regularization according to aspects of the disclosure;

FIG. 42 shows an illustrative chart showing a time evolution of the second parameter of the 2-Factor model without regularizations according to aspects of the disclosure;

FIG. 43 shows an illustrative chart showing a time evolution of the second parameter of the 2-Factor model using the regularization according to aspects of the disclosure;

FIG. 44 shows an illustrative chart showing autocorrelation for the first parameter changes of the 2-Factor model system according to aspects of the disclosure;

FIG. 45 shows an illustrative chart showing autocorrelation for the first innovation, which is obtained by filtering the first parameter changes by a dynamic autoregressive and volatility model, of the 2-Factor model using regularization, according to aspects of the disclosure;

FIG. 46 shows an illustrative chart showing results of a violation coverage test for the 2-Factor model according to aspects of the disclosure;

FIG. 47 shows an illustrative residual surface for a financial product with the polynomial model, another alternative dimension reduction method for PCA, and without regulation according to aspects of the disclosure;

FIG. 48 shows an illustrative chart of a time series of the first parameter for the polynomial model without regularization according to aspects of the disclosure;

FIG. 49 shows an illustrative chart plotting the volatility of the first two PC scores with EWMA method, a dynamic volatility model, for a financial product according to aspects of this disclosure;

FIG. 49A shows an illustrative plot of the squared innovations derived from the first principle component (PC);

FIG. 50 shows an illustrative chart showing a comparison between EWMA model and one of its alternative methods on the first PC score for a financial product according to aspects of the disclosure;

FIG. 50A shows an illustrative chart plotting illustrative parameters for a fast and slow dynamic model associated with a dual-lambda approach for the first score of crude oil;

FIG. 51 shows illustrative charts showing the historical value of the floor through time for a financial product, according to aspects of this disclosure;

FIG. 52 shows an illustrative chart showing historical dynamic floor for different quantile for a financial product, when a standard EWMA is applied as volatility model according to aspects of this disclosure;

FIGS. 53A and 53B show an illustrative comparison of the resulting correlation using EWMC model against DCC model of the first generics of two commodities;

FIG. 54 shows test success criteria for some statistical tests on backtesting results according to aspects of the disclosure;

FIG. 55 shows a number of margin violations in a one year moving window for a financial product according to aspects of the disclosure;

FIG. 56 shows an illustrative model framework comprises several stages for the deseasonalization process;

FIG. 57 is a flowchart illustrating one method performed by a control switch in an electrical battery unit in accordance with various aspects of the disclosure;

FIG. 58 shows an illustrative chart showing a square-integral function according to aspects of the disclosure;

FIG. 59 shows a block diagram representation of an illustrative electrical battery system in communication with a clearinghouse computing system for calculating a margin requirement according to aspects of the disclosure;

FIG. 60 illustrates a schematic view where the dots are simulated futures curve and the dashed-dots are extrapolation in accordance with aspects of the disclosure;

FIG. 61 illustrates a schematic view of the SPD approach in accordance with aspects of the disclosure; and

FIGS. 62A-62I show a deseasonalized price of natural gas with different wavelets and boundary conditions in accordance with various aspects of the disclosure.

DETAILED DESCRIPTION

In the following description of various embodiments, reference is made to the accompanying drawings, which form a part hereof, and in which various embodiments are shown by way of illustration. It is to be understood that there are other embodiments and that structural and functional modifications may be made. Embodiments of the present invention may take physical form in certain parts and steps, examples of which will be described in detail in the following description and illustrated in the accompanying drawings that form a part hereof.

Aspects of the present disclosure may be implemented with specially programmed computer devices and/or specially programmed computer systems that allow users to exchange trading information. An illustrative computing system specially programmed to implement a trading network environment defining illustrative trading systems and methods is shown in FIG. 1.

An exchange computer system 100 receives orders and transmits market data related to orders and trades to users. Exchange computer system 100 may be implemented with one or more specially programmed mainframe, desktop or other computers. A user database 102 includes information identifying traders and other users of exchange computer system 100. Data may include user names and passwords. An account data module 104 may process account information that may be used during trades. A match engine module 106 is included to match bid and offer prices. Match engine module 106 may be implemented with software that executes one or more algorithms for matching bids and offers. A trade database 108 may be included to store information identifying trades and descriptions of trades. In particular, a trade database may store information identifying the time that a trade took place and the contract price. An order book module 110 may be included to compute or otherwise determine current bid and offer prices. A market data module 112 may be included to collect market data and prepare the data for transmission to users. A risk management module 134 may be included to compute and determine a user's risk utilization in relation to the user's defined risk thresholds. An order processing module 136 may be included to decompose delta based and bulk order types for processing by order book module 110 and match engine module 106.

The trading network environment shown in FIG. 1 includes computer devices 114, 116, 118, 120 and 122. Each computer device includes a central processor that controls the overall operation of the computer and a system bus that connects the central processor to one or more conventional components, such as a network card or modem. Each computer device may also include a variety of interface units and drives for reading and writing data or files. Depending on the type of computer device, a user can interact with the computer with a keyboard, pointing device, microphone, pen device or other input device.

Computer device 114 is shown directly connected to exchange computer system 100. Exchange computer system 100 and computer device 114 may be connected via a T1 line, a common local area network (LAN) or other mechanism for connecting computer devices. Computer device 114 is shown connected to a radio 132. The user of radio 132 may be a trader or exchange employee. The radio user may transmit orders or other information to a user of computer device 114. The user of computer device 114 may then transmit the trade or other information to exchange computer system 100.

Computer devices 116 and 118 are coupled to a LAN 124. LAN 124 may have one or more of the well-known LAN topologies and may use a variety of different protocols, such as Ethernet. Computers 116 and 118 may communicate with each other and other computers and devices connected to LAN 124. Computers and other devices may be connected to LAN 124 via twisted pair wires, coaxial cable, fiber optics or other media. Alternatively, a wireless personal digital assistant device (PDA) 122 may communicate with LAN 124 or the Internet 126 via radio waves. PDA 122 may also communicate with exchange computer system 100 via a conventional wireless hub 128. As used herein, a PDA includes mobile telephones and other wireless devices that communicate with a network via radio waves.

FIG. 1 also shows LAN 124 connected to the Internet 126. LAN 124 may include a router to connect LAN 124 to the Internet 126. Computer device 120 is shown connected directly to the Internet 126. The connection may be via a modem, DSL line, satellite dish or any other device for connecting a computer device to the Internet.

One or more market makers 130 may maintain a market by providing constant bid and offer prices for a derivative or security to exchange computer system 100. Exchange computer system 100 may also exchange information with other trade engines, such as trade engine 138. One skilled in the art will appreciate that numerous additional computers and systems may be coupled to exchange computer system 100. Such computers and systems may include clearing, regulatory and fee systems.

The operations of computer devices and systems shown in FIG. 1 may be controlled by computer-executable instructions stored on computer-readable medium. For example, computer device 116 may include computer-executable instructions for receiving order information from a user and transmitting that order information to exchange computer system 100. In another example, computer device 118 may include computer-executable instructions for receiving market data from exchange computer system 100 and displaying that information to a user.

Of course, numerous additional servers, computers, handheld devices, personal digital assistants, telephones and other devices may also be connected to exchange computer system 100. Moreover, one skilled in the art will appreciate that the topology shown in FIG. 1 is merely an example and that the components shown in FIG. 1 may be connected by numerous alternative topologies.

In an embodiment, a clearinghouse computer or computer system may be included. A clearinghouse or other entity that clears trades may use a specially programmed clearinghouse computer or computer system for processing data to model and determine margin requirements.

Illustrative Embodiments

Clearing firms (e.g., a clearinghouse) may offer clearing services for one or more trading products, such as for futures. As part of the clearing services, the clearing firms may calculate margin requirement by relying on a risk management model that conforms to regulatory requirements and to the risk appetite of the particular clearinghouse. As such, a computer-implemented risk model should, therefore provide good coverage across a representative set of portfolios under a comprehensive set of historical scenarios, take into account all of the significant risk factors relevant to a plurality of futures products, consistently and proportionately model the effect of relevant risk factors on the total risk exposure of portfolios including futures products, and have robust, intuitive and justifiable parameterization that supports a reliable and transparent calibration and replication process.

In some cases, a clearinghouse may rely on one or more models (e.g., a scenario-based model, a parametric model, a historical data model, etc.) to be implemented on an clearing computing system to determine margining requirements associated with customer portfolios. In an illustrative example, a computing system may implement a rule-based margining system, where margining may be first performed on synthetic portfolios of basic trading strategies that may include one or more of Outright, Calendar Spread, and Butterfly. In some cases, one or more scenarios (e.g., 16 symmetric long and short scenarios) may be processed and then applied as margin calculations. In such systems, the clearing computing system may decompose each real portfolio into multiple synthetic portfolios where the final margin may be computed by aggregating the sub-margins together. In such cases, an end user will have to make the rules for decomposition and setting the order for spread margin consumption, resulting in a very manually and computationally intensive margining process because the methodology is rule based, where the rules can be different for each financial product. Further, the clearinghouse computing systems have faced increased strain and loading on the computational resources due to a rapid growth in new financial products available to trade, where every real portfolio may include any combination of these financial products. Each portfolio may be decomposed into multiple synthetic portfolios, where a final margin may be computed by aggregating the sub-margins calculated for each synthetic portfolio.

Inconsistencies may be introduced as the dimension reduction mechanism (e.g., tiers of financial products) is not consistent. Further, methodology of determining the tiers of financial products (e.g., grouping contracts in terms of maturity), may not be statistically sound. As such, margining of portfolios based on different strategies (e.g., Outrights, Calendar Spreads, Butterflies, etc.) for different tiers is usually inconsistent. Further, only a limited number of spreads may be able to be margined where the rule-based margining may be limited to particular portfolios of products. Further, such margining processes may have limited scalability, without incorporating excessive computing power and data storage capabilities, because the number of inter-curve spreads and the order in which they are applied may be limited. Further, this type of margining may have limited accuracy due to a reliance on recent data points. Such a margining model may be used for a small number of simple (e.g., “vanilla”, linear, etc.) futures products. However, such rule-based models may cause excessive computational strains to the clearinghouse computing system due to an exponentially growing number of scenarios to be processed with or without offsetting rules and their order of application when calculating a margin requirement for large number of financial products. Further, the computer systems processing the rule-based margining models may process seasonal futures products (as discussed in greater detail below) on an ad-hoc basis and/or may need increased computational power to process margin requirements for multiple standard (e.g., vanilla) options products using one or more volatility surface reconciliation methods (e.g., a price-volatility matrix, etc.). In some cases, the rule-based models may not be suitable for determining margining requirements for one or more exotic options products, such as an average price option (APO), a calendar spread option (CSO), a “strip” option, and the like, without significant computational and model adjustments.

Parametric margining models may be useful for determining margining requirements for a group of homogeneous products or products having a stable correlation structure. However, the parametric models may not be used by clearinghouse computing systems to efficiently calculate margining requirements for a group of products having substantially different underlying risk factors (e.g., futures, implied volatilities, etc.) and/or for products having an unstable correlation structure. The parametric model may introduce potentially difficult calibration issues, difficult choices in using a particular parametric model such as an outright margin model, a correlation-based margin model and, different dependence structures between product types (e.g., futures, options, etc.).

In some cases, the clearinghouse computing systems may process computer-executable instructions to utilize a historical data-based margining model that may be useful in determining margin requirements for a heterogeneous group of financial products in a straightforward manner using one or more historical scenarios. Such models may be data intensive and dependent on the quality and amount of historical data available and may be difficult to use for products with low data quality, or having limited or no data history.

FIG. 2 shows a block diagram representation of a margin computation system 200 including a clearinghouse computing system 210 for calculating a margin requirement according to aspects of the disclosure. The clearinghouse computing system 210 may include one or more components (e.g., computing devices, modules running on one or more computing devices, etc.) that, when processing computer-executable instructions, calculate an initial margin requirement for a portfolio containing one or more financial products (e.g., futures products, etc.) by: dimension reduction, variance scaling, covariance scaling, and Value-at-Risk (VaR) estimation. In some cases, the margin computation system 200 may include the clearinghouse computing system 210 communicatively coupled via a network 205 (e.g., a wide area network (WAN), the LAN 124, the Internet 126, etc.) to a financial market computing system 250. The financial market computing system 250 may include one or more computing devices configured for receiving and disseminating information corresponding to a financial market (e.g., a futures market, an options market, etc.), such as pricing information (e.g., bid information, ask information, etc.) and/or the like. The clearinghouse computing system 210 may be communicatively coupled to a historical financial information database 260 via the network 205. In some cases, at least a portion of the historical financial information database 260 may be otherwise incorporated into the clearinghouse computing system 210 and/or the financial market computing system 250.

In some cases, the financial market computing system 250 may include a data repository, one or more computing devices and/or a user interface. The data repository may store instructions, that when executed by the one or more computing devices, may cause the financial market computing system 250 to perform operations associated with monitoring financial transactions, receiving buy and/or sell orders, communicating financial information corresponding to pricing information for a plurality of financial products offered via the associated financial market(s). In some cases, the financial market computing system 250 may communicate financial information corresponding to the plurality of financial products in near real-time, at predetermined time intervals (e.g., about 5 seconds, about 30 seconds, about 1 minute, about 2 minutes, at the end of a trading day, at the start of a trading day, etc.) determining performance bond contributions associated with holdings in products that are based on various types of futures. In some cases, the financial market computing system 250 may store the financial information corresponding to the plurality of financial products in the historical financial information database 260. Further, the financial market computing system may further present the financial information corresponding to the plurality of financial products via one or more user interface screens via the user interface, whether the user interface is local to the financial market computing system 250. The user interface may be local to the financial market computing system 250 and/or remote from financial market computing system 250 and accessible via the network 205. The user interface screens may graphically and/or textually present financial information corresponding to the plurality of financial products in near real time, at predefined intervals and/or in response to a user request.

In some cases, the choice, calibration, and/or calculation of the risk requirement employs a detailed statistical analysis of the risk factors underlying futures instruments held in the portfolio. In an illustrative example, the clearinghouse computing system 210 may include one or more processors 212, one or more non-transitory memory devices 214 (e.g., RAM, ROM, a disk drive, a flash drive, a redundant array of independent disks (RAID) server, and/or other such device etc.), a user interface 216 (e.g., a display device, a keyboard, a pointing device, a speaker, a microphone, etc.), a data repository 218, a communication interface to facilitate communications via the network 205, and/or the like. In some cases, the clearinghouse computing device 210 may be configured to store instructions in the one or more memory devices 214 and/or the data repository 218 that, when executed by the processor 212, may configure the clearinghouse computing device 210 to execute a model for determining margining requirements associated with a portfolio of financial products, such as futures products, options products, stocks, and/or the like. In some cases, the clearinghouse computing system 210 may process the instructions stored in the memory device 214 and/or the data repository 218 to calculate the margining requirements using one or more of a time series generator 230, a dimension reduction module 232, a variance scaling module 234, a covariance scaling module 236, a value-at-risk (VAR) estimation module 228 and/or a margin calculator 240. For example the clearinghouse computing system 210 may utilize the time series generator 230, the dimension reduction module 232, the variance scaling module 234, the covariance scaling module 236, the value-at-risk (VAR) estimation module 228 and/or the margin calculator 240 to determine margin requirements for a portfolio of financial products based on one or more financial models, such as a risk model. In some cases, the risk model may transform daily log returns of future prices to orthogonal principal component (PC) scores and uses those PC scores as risk factors. The transformation is performed on rolling generic contract time series, which is a synthetic series constructed by grouping existing contracts according to time-to-maturity. A roll-ahead for generating generic contracts can be applied in order to provide time-series without any significant short term maturity effects.

In an illustrative example, the time series generator 230 may be used to process financial information (e.g., pricing information) corresponding to one or more financial products, such as financial products held in a client's portfolio. For example, the time series generator 230 may be used to identify which financial products may be held in a client portfolio for which a margin requirement is to be calculated. For example, the time series generator 230 may receive a customer identifier (e.g., an account number, a name, etc.) and retrieve account information from a portfolio database 222 corresponding to the customer identifier. In some cases, the portfolio database 222 may store information corresponding to a plurality of customers, where the portfolios may include information detailing a size of a holding of the different financial products held in the portfolio and/or pricing information corresponding to the different financial products held in the portfolio. In some cases, the time series generator 230 may retrieve pricing information corresponding to the plurality of financial products held in the customer's portfolio from a remote database (e.g., the historical financial information database 260, etc.) via the network 205. This pricing information may be used to process contract price series information to build time series of generic contracts (e.g., representative financial products). In some cases, a rolling procedure is preferred over interpolation, an alternative approach to construct a generic contract time series at fixed time to maturity. As such, the time series generator 230 may process large amounts of historical data sets to generate a rolling generic time series. A core advantage of the rolling approach is to allow a one-to-one mapping with the existing associated financial product contracts (e.g., futures product). The concern is that rolling procedure may bring a periodic nonstationarity, which would be the strongest for the front-month generic contract. Empirical statistical analysis has shown that the time to maturity effect in price daily log return distribution for the front month generic contract is small. However, in the back-end of the term structure curve, an interpolation or extrapolation technique may be used to fill in or extend any missing data points along term structure in order to keep the continuity of the rolling generic times series. For example, the time series generator 230 may process instructions to utilize linear extrapolation at the price level. In some cases, such as when the data time series of a product is much shorter compared with other products, an extension model may be designed to generate artificial data along time dimension for that specific product. The time series generator 230 is configured to allow use of the maximum amount of data available, and not to truncate long-time-series because some of the curves have limited time-range. For example, a Student's t-distribution inverse conditional expectation formula may be used.

TABLE 1 Methodologies for use in time series generation Method Pros Cons Rolling Clean time series Difficult to obtain without any short roll-ahead parameter term maturity effects using indicator Testing possible variables is difficult to determine impact due to the unreliability of any short term of the curves maturity effects Some returns are fully uncovered by the models Interpolation Allows for different No historical interpolation methods data for generics based on the data set - corresponding to linear interpolation, contracts at cubic spline interpolation, the back-end piecewise cubic hermite of the curve interpolation (PCHIP) Time series Allows for building Capturing dependence extension multi-curve models between illiquid for products having products and liquid data sets starting at products requires a different time points sufficiently large data set

In some cases, the portfolio database 222 may include portfolio information corresponding to a plurality of financial products, such as futures products. In many cases, multiple futures products may be held in a particular portfolio, particularly in cases where a large number of financial products are available to the investor. For example, FIG. 4 shows an illustrative listing of futures products corresponding to a corresponding commodity according to aspects of the disclosure. As such, data identification may be considered to be the backbone of the model, where information related to each of the multiple (e.g., about 100, about 500, about 1000, etc.) futures products may be processed to produce a continuous time-series of information (e.g., a time series of daily settlement prices) for an each of the plurality of financial products. The time series of pricing information, such as settlement prices, may be generated by analyzing or otherwise processing information from a number of different contracts (e.g., about 50 contracts, about 100 contracts, about 200 contracts, etc.) over a time period (e.g., about 1 year, about 3 years, about 5 years, etc.). The time series information may reflect monthly contracts and/or may include information corresponding to different market characteristics, such as seasonality, volatility related to a maturity date, and/or the like.

The time series generator 230 may process instructions stored in the one or more memory devices 214 to generate one or more time series of futures products (e.g., a generic futures contract) according to one or more approaches that may include a rolling generation process, an interpolation generation process and/or the like. The time series generator 230 may retrieve pricing information via the network 205 from the historical financial information database 260 for a plurality of financial products (e.g., futures products, etc.). As mentioned above, FIG. 4 shows an illustrative listing of futures products based on different energy sources (e.g., commodities) such as crude oil, coal, natural gas, heating oil, gasoline, ICE Brent Crude, ICE Gasoil, ICE low sulfur, Crude Gulf Sour, and the like. In some cases, time series information retrieved form the historical financial information database 260 may be associated with starting dates for each raw time series associated with a particular commodity, and/or a starting date and ending date for use in the analysis. In some cases, the starting date of the time series may be different than the starting date for use in the analysis. In some cases, an analysis starting date may be chosen to be the same for different futures products. Further, in some cases such as in cases where less information is available (e.g., a newer developed futures product), the start date of the time series may be the same as the start date used in the analysis. Due to the varying length of the time series information, the modeling of the information to be processed by the dimension reduction module 232, the length of the curves may be based on a time interval between the start date of the analysis and the end data of the analysis. In some cases, the end date of the analysis may be a date earlier than a present date. For products having less information (e.g., a shorter information time frame), the time series information may be extensible.

TABLE 2 Methodologies for use in the dimension reduction model Method Pros Cons Orthogonal High reactivity Lack of Components Fast computation interpretability for illiquid components Parametric Model Control of the Parameter instability and forward shape autocorrelation of parameter changes Fitting issues for the front month Benchmark model Direct modeling of No dimension reduction - the generics not possible to use on a multi-curve level

In some cases, the time series generator 230 may process instructions corresponding to a mathematical equation to determine a rolling time series for a plurality of futures products, such as in cases for “regular” futures products. In such cases, the time series generator 230 may find the return time series R_(n) ^((g))(t_(i)) of the n-th generic contract of a future product by the rolling procedure using: R _(n) ^((g))(t _(i))=R _(T) _(j+n−1) (t _(i)), where t _(i)ϵ(T _(ij−1)−δ_(j−1) ,T _(j)−δ_(j)],  (1) where Tj is the maturity date of contract with number j=1, . . . , Ncnt and Ncnt is the total number of contracts. The initial maturity date T₀ is defined as T ₀=Min_(T)(T−δ>t ₀)  (2) where T varies in the set of all available contract maturities and to is the starting date of the analysis, as shown in FIG. 4. Additionally, R_(Tj)(t) is given as the log-return at time t_(i) of the traded futures with contract number j, as shown in: R _(T) _(j) (t _(i))=log(F _(T) _(j) (t _(i)))−log(F _(T) _(j) (t _(i−1)),  (3) where F_(T)(t) is the price of the future contract with maturity T at time t. For generality the roll-ahead period δ for the rolling can be chosen as being maturity and product dependent, however this roll-ahead period may be chosen as a fixed, maturity and product independent constant due to the unreliability of some data curves and also to avoid distortion of the inter-curve correlation.

By construction the rolling procedure puts together returns with different time to maturity (e.g., less than a month difference), which may cause a periodic nonstationarity. This effect may be the strongest for the front-month generic futures. As such, a possible remedy may utilize a predefined roll-ahead period when performing the shift from one contract to another before the end of the contract. By doing so, errors introduced by rolling on contracts with very short time-to-maturity may be minimized or eliminated. Heuristics based on open interests and traded volume for determination of the roll-ahead period may be analyzed by matching the rolling procedure of ETF contracts. We may focus on front-month returns for which the time-to-maturity effects may be expected to be the strongest. Practically, we compare the two extreme sets of log-returns available within the front month time series, namely: (1) the short time-to-maturity set of returns with time-to-maturity less than or equal to 2 days, and (2) the long time-to-maturity set of returns with time-to-maturity between about 28 and 31 days.

Two different tests may be run to compare these two distributions. For example, the first two moments may be tested using a two-sample Kolmogorov-Smirnov (KS) test, where the null hypotheses is that short time-to-maturity and long time-to-maturity returns are sampled from the same distribution. This null hypothesis may be rejected if the test statistics yields a p-value smaller than 5%. In the second test, a multi-generic case may be investigated using the correlations of the front month contract to the second month contract. As the correlation model, an exponentially weighted moving average (EWMA) with a pre-defined decay parameter (e.g., about 0.9) may be used. As the obtained correlations are very high, a visual check, or other automated graphical analysis method, may be performed on the commodities to ensure there is no strong time-to-maturity effects exist, or are at least minimized. FIG. 6 shows an illustrative two-sided KS test result to analyze time-to-maturity effects on a return distribution according to aspects of the disclosure. In the chart, the fields marked with an X (e.g., ICE G and ULS), show that a test has been passed (e.g., H₀ has been rejected) and that the distributions are different. The sample size column indicates the smaller sample size between the two sets (e.g., a short set and a long set). For example, FIG. 7 shows an illustrative chart showing the distribution of the two samples used in the two-sided KS test for a particular commodity according to aspects of the disclosure.

From this single-generic analysis (the first KS test), it is rejected that the two sets come from the same distributions only for two ICE products (Gasoil and Low Sulfur). For these two commodities, the short time-to-maturity distribution is characterized by 0-returns, as illustrated in FIG. 7. Inversely, the result of these tests means that for futures products associated with the other commodities there may be no significant time to maturity effect observable. FIG. 8 illustrates a similar result for WTI Crude Oil. Here the p-value is one of the smallest along with the ICE Brent (e.g., 15%)) among the set of commodities that are rejected in the KS test. The time-to-maturity effect in the rolling procedure may be statistically small and may predominate for two ICE futures (Gasoil and ULS). The main rational for the time series generator 230 to introduce a roll-ahead parameter for the rolling is to counteract effects resulting from the decaying correlations of the front month contract to the second month contract.

FIGS. 9 and 10 show illustrative log-return correlations of the front month contract to the second month contract using an exponential decay model for different financial products (e.g., crude oil and natural gas) according to aspects of this disclosure. For example FIG. 9 corresponds to exponentially weighted correlations (e.g., λ=0.9) of front to second month returns for a financial product associated with a first commodity (e.g., crude oil) and FIG. 10 corresponds to exponentially weighted correlations (e.g., λ=0.9) of front to second month returns for a financial product associated with a second commodity (e.g., natural gas). By analyzing (e.g., visual analysis, image analysis, pattern analysis, etc.) such log-return correlations, either as a set of information or as a graphical plot, one or more patterns may be identified. For example, a clear decay may be identified in correlation for financial products having very short maturities for different commodities (e.g., ICE gasoil, ICE ULS, WTI crude oil, and heating oil). Further, in some cases such as for ICE gasoil, a clear correlation break may be identified, as shown in FIG. 11. In some cases, no apparent change in correlations can be identified, such as in the cases for coal, ICE Brent, natural gas, gasoline and Gulf Coast sour.

In some cases, the time series generator 230 we may process heuristic arguments to determine a sensible roll-ahead period for use with the traded volume and/or open interest crossing time. FIG. 12 shows illustrative charts showing traded volume curves for 6 consecutive contracts associated with a particular commodity (e.g., WTI crude oil) and a distribution of crossing days for the front and second months contracts according to aspects of the disclosure. FIG. 13 shows illustrative charts showing open interest curves for 6 consecutive contracts associated with the same particular commodity (e.g., WTI crude oil) and a distribution of crossing days for the front and second month contracts according to aspects of the disclosure. In the illustrative example, FIGS. 12 and 13 illustrate the crossing days based on, respectively, the volume and open interests for the WTI crude oil. Here, the crossing time t_(c) may be defined as the first day for which the indicator (e.g., volume, open interest, etc.) of the next contracts is larger than the current contract's indicator:

$\begin{matrix} {{{t_{c}(j)} = {{\min\limits_{t \leq T_{j}}\mspace{14mu} t}❘{{{X_{j}(t)} - {X_{j + 1}(t)}} < 0}}},} & (4) \end{matrix}$ where t_(c)(j) is the crossing time for which the current j contract gets rolled with the next contract, and X denotes either the open interest or traded volume. Further, the parameter δ is determined by taking the difference with the expiration date of the current contract: δ(j)=T _(j) −t _(c)(j).  (5)

The parameter may be expressed directly in business days. If the open interest or the traded volume does not cross during the considered month, i.e. the curve of the current month is below (or above) the curve of the next month, the value is not derived and is reported separately. A set of indicators on this measurements are displayed in FIG. 14 for the traded volume and in FIG. 15 for the open interest. In some cases, an analysis of one or more financial products (e.g., crude gulf sour (MB)) may not be possible due to minimal trading volume information available in the historical financial information database 260. Nobs: number of observations. It corresponds to the total number of curve intersection

In some cases, the content for of the tables of FIGS. 14 and 15 may be defined as a number of observations (N_(obs)), that may correspond to the total number of curve intersections considered, (e.g., for which front month data was available). In some cases, N_(obs) may include cases for which no crossing is observed on the front month. The number of observations for which a crossing is observed may be denoted as N_(δ). Median, mean and standard deviation may be derived directly from the extract of the parameter δ for all the N_(δ) intersections. In cases for which there are no crossings in the considered month, that particular month is not considered in any calculation of the median, mean or standard deviation. In some cases, the median, mean and/or standard deviation may be expressed in business days, thus limiting the maximum reported value to 21 days for monthly calculations. In some cases, coverage may be defined as the ratio of the number of observations for which a crossing could be measured by the total number of observations: coverage=N_(δ)/N_(obs) (6) and may be expressed as a percentage. In some cases, the mean number of intersections may indicate a number of crossings of the front and second month's curves are actually observed. For smooth curves like the ones shown in FIG. 13, only one crossing is observed, while for the traded volume curves more crossing may be identified, as shown in FIG. 12. N_(below) corresponds to the “front month below” and may be defined as a number of curves for which the front month open interest or traded volume was always below the second month for any particular interval being analyzed. Similarly N_(above) corresponds to the “front month above” and may be defined as a number of curves for which the front month open interest or traded volume was always above the second month for any particular interval being analyzed.

From an analysis on all commodities=, the traded volume may become highly volatile over the last days, making the measurement of the last crossing day difficult. For example, there can be more than one crossing of the curves during this time period. Conversely, the open interest curves may be more stable and their crossings may be easily predictable. In both cases, the distributions of the crossing days are right skewed with in some cases where no crossings may be observed for a full month. For example, this may be the case for illiquid products (e.g., coal) or when there is a strong seasonal pattern (as explained in greater detail below) in the demand (e.g., for the demand for natural gas, heating oil, etc.). To be robust with regards to this right skew the median of the distribution is proposed to retain only one roll-ahead by commodity. In some cases, several observations may be made based on an analysis of the tables and figures discussed above. However, in cases where minimal data is available, such as for gulf coast sour, no derivation of values may be possible. For example, the procedure can only be applied to the crossing of the front month and the second month. For longer generics maturities the time series of open interest and traded volume are likely to either not cross at all or to cross multiple times. Further, these indicators cannot be used for futures with a low liquidity like coal, for which the curves usually do not cross at all. For commodities with a strong seasonal component, the crossing of open interest may be complemented by a demand factor analysis (as explained in greater detail below) to correct for structural higher or lower levels of supply, such as in a case concerning the storage levels of natural gas. In some cases, the crossing of the open interest curves may take place very early while the open interest of the front month still remains very high, as determined in a case analysis for ICE Brent as compared with WTI shown in FIG. 13 in which the open interest of the front month is in clear decline when the two curves meet. Finally, the numbers may differ significantly between the different liquid commodities, such as ICE Brent Crude and WTI Crude oil.

Having different roll-ahead parameters for different commodities would create major distortion of the inter-curve correlations. Moreover, obtaining the roll-ahead parameter using the indicator variables (e.g., traded volume and open interest, etc.) is difficult due to the unreliability of the curves for one or more reasons, including multiple crossing, no crossing at all in traded volume/open interest and/or the like. For these reasons, we may calibrate the roll-ahead based on the median crossing day of the open interest of crude oil (e.g., 7 days). Using roll-ahead for the generics has the advantage to provide a clean time-series without any short term maturity effects. However it also has the disadvantage to leave a few returns fully uncovered by the models (the so-called generic 0). Final backtests may be performed with a decrease roll-ahead parameter to assess how large the impact of the short time-to-maturity effect is once processed through all the steps. For instance, it could be captured and/or mitigated through the residuals of the PCA approach by the dimension reduction module 232, and thus not impacting the multi-curve results.

In some cases, the time series generator 230 may process instructions to construct the returns of generic future contracts utilizes interpolation of price times series F_(Tj)(t). In some cases, the time series generator 230 may use one or more interpolation methods including linear interpolation, cubic spline interpolation, piecewise cubic hermite interpolation (PCHIP). As a first step, the time series generator 230 may retrieve historical information (e.g., pricing information) corresponding in maturity for a union of time points of the individual contracts of the financial products (e.g., futures) in question. Next, the time series generator 230 may interpolate to daily granularity in maturity. For example, for each time t, a data vector: [F _(T) ₁ (t), . . . ,F _(T) _(N) _((t))(t)]  (7) may be used to determine an interpolating function F_(T)(t), where T denotes a refined (daily) grid in maturity dates. From the interpolated forward curves (log) returns on the contract level may be computed using: R _(T) (t)=log( F _(t)( T ))−log( F _(t−1)( T ))  (8)

The prices and returns are transformed from maturities of contracts to time-to-maturity (ttm) by: τ_(j) =T _(j) −t,  (9) where τ_(j) is the time-to-maturity of contract j. Without extrapolation at the front end of the curve the anchor points in the time-to-maturity are set as follows: starting from smallest time-to-maturity for all observation dates (e.g., at the end of the front month) the time series generator locates an anchor point every 22 business days in maturity direction. Given a set of points x_(i) and function values y_(i), with i=1 N, an interpolation method finds a smooth function graph f in between the grid points (x_(i); y_(i)). The function f(x) is called the interpolating function for the data points (x_(i); y_(i)). Unless more information on the desired function is known, such as an approximate analytical form, the time series generator 230 uses simple functional spaces to approximate the interpolating function. The most simple form is piecewise linear interpolation. The general form reads: y=A|y _(i) +By _(j+1),  (10) where the coefficients are given by:

$\begin{matrix} {A = {{\frac{x_{j + 1} - x}{x_{j + 1} - x_{j}}\mspace{14mu}{and}\mspace{14mu} B} = {{1 - A} = {\frac{x - x_{j}}{x_{j + 1} - x_{j}}.}}}} & (11) \end{matrix}$

The piecewise linear interpolating function has vanishing second derivative and a discontinuous first derivative at the grid points. Because of the latter deficiencies a common alternative is interpolation using cubic polynomials. Both, the second and third interpolation method, capitalize on this approach. Cubic splines are locally (cubic) polynomials that are glued together at the grid points by continuity and smoothness constraints. The constraints include:

Interpolating function reproduces data points, f _(i)(x _(i))=y _(i),  (12) f _(i)(x _(i+1))=y _(i+1) ,i=1 . . . N−1.  (13) first derivative matches at grid points, and f′ _(i)(x _(i+1))=f′ _(i+1)(x _(i+1)),i=1 . . . N−2  (14) second derivative matches at grid points. f″ _(i)(x _(i+1))=f″ _(i+1)(x _(i+1)),i=1 . . . N−2  (15)

In particular, using cubic splines the interpolating function may be required to generate a continuous first and second derivative. There are 4(N−1)−2(N−1)−2(N−2)=2  (16) leftover degrees of freedom that are fixed by boundary conditions. We consider the not-a-knot boundary conditions for the cubic splines. Therefore the three data points close to the boundaries (e.g., (y1; y2; y3) and (y_(N−2); y_(N−1); y_(N))) are each described by a cubic polynomial. This leads to a matching condition for the third derivative at the middle points: f′″ ₁(x ₂)=f′″ ₂(x _(n)),f′″ _(N−2)(x _(N−1))=f′″ _(N−1)(x _(N−1)).  (17)

In comparison, PCHIP constrains the interpolating function in a first step such that the function and its first derivative are continuous. The time series generator 230 may uniquely determine the interpolation based on the data points y_(i) and first derivative y_(i)′ at the knots. Besides the conditions (12) the time series generator 230 has for PCHIP: f′ _(i)(x _(i+1))=f′ _(i+1)(x _(i+1))=y′ _(i+1) ,i=1, . . . ,N−2,  (18) f′ ₁(x ₁)=y′ ₁,  (19) f′ _(N−1)(x _(n))=y′ _(N).  (20)

The time series generator 230 may process an interpolation routine to estimate the first derivative from the data numerically and chooses the slopes at the knots such that the shape of the data and the monotonicity is retained. However, using PCHIP may cause the second derivative of the interpolant can be discontinuous. Generally, considering higher order polynomial interpolants is not useful as it leads to strongly fluctuating interpolating functions. In an illustrative example of liquid commodities (e.g. WTI crude oil), one or more of the discussed methods may produce satisfactory results. As such, a quantitative criterion for deciding which interpolation method would be most preferred may be used. Further, the stability and/or sensitivity of the interpolation against missing data should be assessed. To do so, we may test the stability of return distribution spreads between the first and/or second data points by comparing: r(t)=(F _(τ) ₂ (t)−F _(τ) ₁ (t))/F _(τ) ₁ (t),  (21) where 1; 2 are the ttm of the first two prices at fixed observation time t, to r (t)=( F _(τ) ₂ −F _(τ) ₁ )/F _(τ) ₁ ,  (22) where F_(τ2) is interpolated.

To process the test, we remove the second data point and repeat the interpolation on the reduced data set. Using the 2-sample Kolmogorov-Smirnov (KS) with significance level α=0:05 the hypothesis was tested as to whether the samples of spreads with genuine data and interpolated data points are drawn from the same distribution. Resulting from this, in addition to other findings, is the rejection of linear and PCHIP interpolation for at least crude oil. In these tests, the full set of available contracts with a starting date of January, 3rd 2001 were used. The FIGS. 17-19 show the corresponding histograms for the return distributions all interpolation methods. For example, FIG. 17 shows a 1-2 data point spread (e.g., return) distribution of crude oil with linear interpolation, FIG. 18 shows 1-2 data point spread (e.g., return) distribution of crude oil with spline interpolation, and FIG. 19 shows 1-2 data point spread (e.g., return) distribution of crude oil with PCHIP interpolation. The p-values of the KS test are given in FIG. 16 as related to equations (21) and (22). As expected cubic splines and PCHIP are perform similarly, where differences between the two splines are observed especially where the removed point is a price maximum/minimum. Here, this result causes the rejection in the KS test for crude oil. Results for all commodities are presented in FIG. 20 which shows a result table for various commodities according to aspects of the disclosure. Here, fields that are shown to be marked (e.g., ‘X’) are rejected interpolation methods using the various KS tests and the blank fields are not rejected. The results for other illiquid commodities, like coal and golf coast sour, are inconclusive as all interpolations are rejected (or not rejected) according to the KS tests.

FIG. 21 shows illustrative chart showing an example for the performance of the spline interpolation and PCHIP for coal price data. Visual control for specific dates favors PCHIP or linear interpolation because cubic splines (with ‘not-a-knot’ boundary conditions) may introduce more variance to the curve. The choice of interpolation method, however, does also depend on the settlement pricing of the considered products. For example, coal uses piecewise constant interpolation for settlement prices, which explains why cubic spline interpolation may not be a suitable method for coal futures.

For some commodities like coal the granularity of the maturity in the back-end of the futures curve decreases. Only specific contracts, such as June or December contracts may be available. To keep the granularity in maturity constant when rolling generics returns across the back-end of the PFC, the missing prices are constructed using an interpolation procedure. In some cases, the interpolation method that is best suited to the corresponding commodity may be choses. For example, cubic spline interpolation may be chosen for all but coal for which linear interpolation may be favored. The returns of the filled futures curve may be used to build the time series of generic contracts, such as by the time series generator 230.

In an illustrative example, the time series generator 230 may identify that in November 2013 the generic number 73 corresponds to the December 2019 contract and that at day to that contract has to be rolled but the next available contracts are June 2020, December 2020, June 2021, and December 2021. The 73rd generic return at time t₀+1 may be determined by the time series generator 230 in the following steps:

1. interpolate the curves

[F_(Dec2013)(t₀), . . . , F_(Dec2019)(t₀), F_(Jun2020)(t₀), F_(Dec2020)(t₀), F_(Jun2021)(t₀), F_(Dec2021)(t₀)]

at the maturity January 2020, obtaining F_(Jan2020)(t₀).

2. interpolate the curve [F _(Jan2014)(t ₀+1), . . . ,F _(Dec2019)(t ₀+1),F _(Jun2020)(t ₀+1),F _(Dec2020)(t ₀+1),F _(Jun2021)(t ₀+1),F _(Dec2021)(t ₀+1)]  (21)

at the maturity January 2020, obtaining F_(Jan2020)(t₀+1)

3. The returns at time t₀ and t₀+1 for the generic 73 are respectively R ⁷³(t ₀)=log(F _(Dec2019)(t ₀))−log(F _(Dec2019)(t ₀−1))  (22) R ⁷³(t ₀+1)=log(F _(Jan2020)(t ₀+1))−log(F _(Jan2020)(t ₀))  (23)

In some cases, the back end of the curve may occur when the number of available contracts increases, particularly when little to no historical data may be available for the generics corresponding to these contracts. For in an illustrative example, new contracts for an entire year maturities may be listed in November and may correspond to the generics 61-72 in December. These generics may not have a full historical time series, since the length of the futures curve oscillates between 61-72 contracts. Reconstructing these data the curve length is extended to the fixed number of 72 by linear extrapolation of the available PFC curves. The generic returns may then be obtained from these extrapolated prices as for real contracts. The same procedure may be applied when the historical curves are shorter in specific time periods than the currently observed time period.

In some cases, the time series of different basic products start at different time points (see FIG. 4). For this reason we define an approach that allows us to build multi-curve models in such a way that longer time series data (possibly including very important period of crises) may be efficiently exploited. An effective extension is especially import for historical multivariate scaled innovations. Those innovations are scarcely populated, especially in the tails, but may be heavily used in the historical simulation step.

In some cases, products having shorter time series may be handled in different ways depending on the liquidity of the particular products. If the product is not liquid the shorter time series is problematic and therefore may be modeled independently from the other curves. As a result of the modeling, a margin for the problematic product W_(¬LP) with ¬LP representing a non-liquid product. This ensures that jointly modeling the problematic curve with longer curves, does not relevantly deteriorate the model performance of the longer curves of more liquid products. The total margins for a portfolio containing the problematic curve among other products may then be obtained by adding the margin for the illiquid product to the margins of the remaining portfolio. Therefore the total margin is given by: M _(tot) =M _(LP) +M _(¬LP).  (24)

This approach may be justified by the fact that illiquidity leads to price movements which are not observed in standard time series dynamics of liquid products. Capturing the dependence structure between illiquid products and liquid ones a sufficiently large data set is required. For illiquid products, with time series that does not satisfy the sufficient data requirement, this attempt could lead to spurious correlation effects. This, in turn, may decrease the needed margins in a unjustified way. Decoupling of the time series modeling and of the margin calculation is therefore a necessary step in the case of scarce data and low data quality.

When we have a short time series for a liquid product, a consideration remains regarding a situation that a product is only very recently traded. In that case a meaningful inter-curve dependence structure cannot be estimated and the product may be treated as being analogous to illiquid products. In all other cases a joint modeling and margin estimation procedure with longer time series curves is desirable. By assumption the length and the quality of the considered time series allow the estimation of the dependence structure of this curve with other products, on the period where all products are available. In particular, the dynamic of the co-variance matrix can be estimated and is used in filtering the multivariate returns. Furthermore, this implies the possibility to estimate higher order dependence effects which are generally assumed as static and left in the filtered innovations. The extension of the curves is only done at the levels of innovations to avoid reconstructed and/or extended returns biasing the dynamic model estimation.

For times series extension of scaled returns, N curves with returns R_(i) ^((n)), where I labels the single futures on the curve and n may be assumed with starting dates of time series S_(n) as ordered in ascending order), n=1, . . . , N. At current time point to we consider the following set of time series [R ⁽¹⁾ _((t)) , . . . ,R ^((n)) _((t))],tϵ[S _(n) ,t ₀],n=1, . . . ,N  (25)

We refer to the FIG. 22 for further illustration of the introduced notation. FIG. 22 shows an illustrative representation of a time series extension according to aspects of the disclosure. For example, FIG. 22 shows a representation of equation 25, where N=3 and the boxes indicate the set of return time series for different time intervals.

The same dimensional reduction and filtering procedure described below is applied to the return time series to get the variance and co-variance scaled scores UI (so-called uncorrelated innovations) [UI ^((1,n))(t), . . . ,UI ^((n,n))(t)],tϵ[S _(n) ,t ₀],n=1, . . . ,N,  (26) where the second index in UI^((l,n))(t) describes which set of returns has been used to estimate the correlation matrix. A multivariate student t-distribution τ(μ, Σ, υ) is calibrated to the data: [UI ^((1,N))(t), . . . ,UI ^((N,N))(t)],tϵ[S _(n) ,t ₀].  (27)

using an expectation maximization (EM) procedure. By using the EM algorithm the time series generator 230 can iteratively determine the maximum log-likelihood estimate for parameters of a stochastic distribution. Here, the EM algorithm may be used to determine the parameters of the multivariate t-distribution, (μ, Σ, υ). Taking the example of FIG. 22, μ is a 3×1 mean vector, Σ is a 3×3 covariance matrix and υ is a scalar for the degrees of freedom. This distribution may be fitted on the period where all curve data are available, such as the largest set of return time series equation. (27). This describes the static dependence structure of the scores innovations and can be used to generate the missing data UI^((k,N))(t) with tϵ[S1, . . . , S_(k)−1] (compare FIG. 22). To this end the following conditional distribution formula may be used:

$\begin{matrix} {\left. X_{1} \middle| {\left. X_{2} \right.\sim{\tau\left( {\mu_{1|2},\Sigma_{1|2},v_{1|2}} \right)}} \right.,} & (28) \\ {{\mu_{1|2} = {\mu_{1} + {\Sigma_{12}{\sum\limits_{22}^{- 1}\left( {X_{2} - \mu_{2}} \right)}}}},} & (29) \\ {{v_{1|2} = {v + {\dim\left( X_{2} \right)}}},} & (30) \\ {{\sum_{1|2}{= {\frac{v + {\left( {X_{2} - \mu_{2}} \right){\sum\limits_{22}^{- 1}\left( {X_{2} - \mu_{2}} \right)}}}{v_{1|2}}\left( {\Sigma_{11} - {\sum\limits_{22}^{- 1}\Sigma_{21}}} \right)}}},{where}} & (31) \\ {\left. \left\lbrack {X_{1},X_{2}} \right\rbrack \right.\sim{\tau\left( {\left\lbrack {\mu_{1},\mu_{2}} \right\rbrack,\begin{bmatrix} \Sigma_{11} & \Sigma_{12} \\ \Sigma_{21} & \Sigma_{22} \end{bmatrix},v} \right)}^{-}} & (32) \end{matrix}$ holds.

In the present case we use (28) to generate simulated score innovation X ₁=[UI ^(k)(t), . . . ,UI ^(N)(t)]  (33) for tϵ[S _(k−1) , S _(k)−1], conditional on the available data X ₂=[UI ^((1,k−1))(t), . . . ,UI ^((k−1,k−1))(t)]  (34) for all k=2, . . . , N. Note that for the conditional distribution the parameters μ₁,μ₂,Σ₁₁,Σ₁₂,Σ₂₁,Σ₂₂,υ  (35) are obtained directly from the parameters μ, Σ, υ of the multivariate student t-distribution that may be calibrated on [S_(N), t₀]. Setting UI^(j)(t)=U^((j,k−1))(t) for tϵ[S_(k−1), S_(k)−1] and j≥k, results in the extended scores innovations UI^(k)(t) for all curves k and the whole time range tϵ[S₁; t₀]. In comparison, the error terms time series may be extended simply by bootstrapping historical errors for each curve independently.

Note that X1 and X2 may be collections of curves and the Equations (27) to (34) may be in general for a multi-curve case. Regarding the example the FIG. 11 there are two steps in the extension: first, X₁=[UI³] for [S₂; S₃−1] under the condition X₂=[UI¹; UI²] and second, X₁=[UI²; UI³] is filled on [S₁; S₂−1] under the condition X₂=[UI¹].

In an illustrative test case, the approach is tested on the volatility scaled WTI and ICE Brent returns for the period from 1 Jan. 2010 to 29 Nov. 2013. First we compute the volatility scaled return for the time period 9 Aug. 2010 to 29 Nov. 2013 based on the original time series with a burn-in period. Afterwards we artificially cut the ICE Brent return time series to 1 Jan. 2011 to 29 Nov. 2013 and calculate volatility scaled returns based on 9 Aug. 2011 to 29 Nov. 2013. Next, the cut time series may be extended with the described approach to the period 9 Aug. 2010 to 9 Aug. 2011. We then compare real innovations versus artificial innovations by overlapping the WTI-ICE Brent joint distribution as in FIG. 23 and FIG. 24 shows observed versus extended ICE Brent innovations time series, while FIG. 25 presents a QQ plot of the innovation distribution. The real and extended time series of ICE B innovations are given in FIG. 26. As shown, this approach, as implemented by the time series generator, allows time series extensions by roughly preserving the distributional properties of the considered time series. The time series, when created by the time series generator 230 may be stored in the one or more the memory devices 214 and/or the data repository 218

The dimension reduction module 232 may be communicatively coupled to the time series generator 230 and may process instructions stored in the one or more memory devices 214 to perform dimension reduction on the time series generated by the time series generator 230. In general, dimension reduction refers to the process of capturing the curve dynamics in a few factors instead of all generics as may be required in the context of the multi-curve model, which uses a matrix Cholesky decomposition for the dynamic correlation model. Note that the dimension reduction technique does not imply any loss of volatility, as the residuals (the omitted dimensions) are still considered in the single curve case. The only assumption made is that the correlation dynamic, at the multi-curve level, is described by a reduced set of factors. Three alternatives are investigated to decrease the dimensionality. For example, the orthogonal component, i.e. the PCA method, as determined by the dimension reduction module may allow for high reactivity and fast computation but may lack interpretability for illiquid commodities. A parametric model may allow the dimension reduction module 232 to control the forward shape of the dimension reduced time series, however parameter instability and/or auto-correlation of parameter changes may be experienced along with fit issues associated with the front month. A Benchmark model which directly models the generics may be simple, however this model does not include any dimension reduction and may be difficult, at best, for use on a multi-curve model.

The orthogonal curve model may be used for high correlations between the different generic contracts to achieve a significant dimensional reduction. Accounting for the short-term volatility dynamics, the orthogonal model is investigated for a covariance matrix C of the generic futures provided by an exponential weighting with decay λ_(PCA): C _(i,j)(t)=λ_(PCA) C _(i,j)(t−1)+(1−λ_(PCA))(R _(i)(t)−

R

(t))(R _(j)(t)−

R

(t)),  (36) where R_(i)(t) is the log-return at time t of the generic future i. The EWMA estimate

R

(t) is derived as

R

(t)=λ_(PCA)

R

(t−1)+(1−λ_(PCA))R(t)  (37) using the same λ_(PCA) parameter as in equation (36). The estimated covariance is diagonalized C(t)=PC(t)Λ(t)PC ^(T)(t),  (38) where Λ(t)=diag(λ(t), . . . , λ_(N)(t)) (in descending order) and PC=[PC₁(t), . . . , PC_(N)(t)] is an orthonormal matrix. The principle component (PC) matrix defines a rotation and this transformation is used to decompose the returns into uncorrelated components (“scores”). Using the PC matrix the kth score is defined as:

$\begin{matrix} {{{{pc}_{k}\left( {t^{\prime},t} \right)} = {\sum\limits_{j = 1}^{N}{{{PC}_{jk}(t)} \cdot {R_{j}\left( t^{\prime} \right)}}}},} & (39) \end{matrix}$ where t′ is the time indicator in the training window, while t is the derivation date of the PCs. Note that the scores can be rotated back, as will be done at the generic simulation step by the dimension reduction module 232:

$\begin{matrix} {{R_{i}\left( {t^{\prime},t} \right)} = {\sum\limits_{k = 1}^{N}{{{PC}_{ik}(t)} \cdot {{{pc}_{k}\left( t^{\prime} \right)}.}}}} & (40) \end{matrix}$

The dependencies on both time t and t′ in the scores and returns are used to clearly track the time dependence of the PC matrix. A unique time dependence may be fixed to distinguish between updated and non-updated scores. For updated scores the PC transformation of the derivation day may be used by the dimension reduction module 232 to find the time series of the scores. For the non-updated scores the transformation matrix PC may be time-aligned with the time series of the scores. Note that for the transformation of the scores (and residuals) back to return space the most recent PCs are used in both, the update and non-update case. Considering the high correlations between the different contracts, we consider only the first n components explaining the majority of the dynamics. The share of explanation for each PC may be provided directly by the ratio of the individual eigenvalue Λ (t)_(kk) to the sum of the eigenvalues.

The returns R_(i)(t′) can then be re-expressed as

$\begin{matrix} {{{R_{i}\left( {t^{\prime},t} \right)} = {{\sum\limits_{k = 1}^{n}{{{PC}_{i}(t)} \cdot {{pc}_{k}\left( t^{\prime} \right)}}} + {\epsilon_{i}\left( t^{\prime} \right)}}},} & (41) \\ {{\epsilon_{i}\left( {t^{\prime},t} \right)} = {\sum\limits_{k = {n + 1}}^{N}{{{PC}_{ik}(t)} \cdot {{{pc}_{k}\left( t^{\prime} \right)}.}}}} & (42) \end{matrix}$

The quantities ε_(i) are commonly known as compression error. This term is misleading in this context as these contributions are not dismissed in the returns. As later explained, distinguishing scores and errors are only important on the simulation level.

FIG. 27 shows an illustrative chart showing explained variance per PC for crude oil according aspects of the disclosure. From a visual check, the explanation power of the different PCs is not distinguishable as of the 5^(th) PC. FIG. 28 shows an illustrative chart showing explained variance for a 99% threshold selection criteria for a financial product using a covariance matrix estimated with a lambda of 0.98. The jumps correspond to the switch from 2 to 3 PCs. FIG. 29 shows an illustrative chart showing a number of selected PCs needed to reach the 99% variance explained threshold for crude oil and FIG. 30 shows explained variance using constantly three factors for crude oil.

The dimension reduction module 232 may determine an appropriate number of scores according to one or more selection processes. For example, a variance based selection may be used or a constant number of factors may be used. For a variance based selection, the number n of PCs selected is defined as the minimum number of scores needed to explain a given percentage of variance, usually 99%. The advantage of this approach is the direct control of the risk explained by the factors, relatively to the error term. The disadvantage is that the number of PCs may change in the course of time, thus creating discontinuity in the multi-curve correlation model for the non-updated case. A practical test case is provided in FIGS. 28 and 29, where the achieved level of variance explanation and the number of PCs selected are reported for crude oil. A maximum of 3 PCs are needed to explain this level of variance. The number of selected PCs fluctuates between 2 and 3 as of 2011. This result is reflected in FIG. 16, where the first two PCs sum up to 97%.

In some cases, the dimension reduction module 232 may receive a number of factors n from a user via a user interface, where the number of factors are fixed by the user. A usual estimate is 3. The estimate should be high enough to explain at least around 99% of the variance. The advantage of this approach is not only having a threshold level of explained risk, but also controlling the number of factors for the multi-curve model.

An example is displayed in FIG. 30 for crude oil. As FIG. 30 indicates three factors are always enough to explain at least 99% of the curve for WTI crude oil. The proposed parameterization is to use a constant number of PCs, which would be monitored by commodities. If the share of explained variance falls below a threshold, the number of components would be increased. As a result one avoids a fluctuating number of PCs around an arbitrary value (in this example, 99%).

FIG. 31 represents the time-series of the leading three scores of crude oil using updated PCA. From a visual check, this time series exhibits volatility clustering and heavy tails, as does any financial time series. Since the PC vectors are orthonormal, the scale of the score time series gives a direct indication of each score's contribution to the total variance. FIGS. 33 to 34 illustrate and quantify this dynamics for crude oil. For example, FIG. 33 shows an autocorrelation of the first scores, in an updated setting, from a PCA on crude oil. FIG. 34 shows an autocorrelation of the first scores squared (in the updated setting) from a PCA on crude oil. The negative autocorrelation on the first PC may be translated into the mean-reversion feature of commodity prices, while the strong positive auto-correlation of the squared scores quantifies the volatility clustering. The volatility model chosen in the next section will require capturing this effect. FIG. 32 shows an illustrative table corresponding to visual inspection of PC surface stability for the different curves according to aspects of the disclosure.

In some cases, the dimension reduction module 232 may identify a stable set of time series. For example, a core assumption behind the orthogonal component approach is that the PCs exhibit a certain stability characteristic. This feature is an important factor to have stable parameters of the multi-curve model, and for monitoring the update process of the scores volatility. Beyond that, this feature could prove useful in the context of injecting stress and risk views in the model. As a stylized fact, the first three PCs of a PCA on a forward surface (whether commodities or interest rates) usually yield respectively the level, the slope and the curvature. The first three PCs of WTI crude oil are represented by FIGS. 35A-C. Visually, the level, slope and curvature appear clearly. Importantly, the small decay in the level component illustrates a higher volatility in the front-end of the curve and is consistent with the Samuelson effect. FIGS. 35A-C show a visual representation of an inspection of PC surface stability for a plurality of curves according to aspects of the disclosure.

The dimension reduction module 232 may identify one or more orthogonal components associated with a time series. The orthogonal components are rotating the generic time series in an orthonormal space according to initial exponential decay used for the covariance matrix. The scores thus do not have a vanishing correlation between one another. Two approaches may be used by the dimension reduction module 232 to tackle this issue.

The first approach may involve updating of the scores at every time-step, the full history of the scores is derived based on the latest orthonormal basis. The modified version of Eq. (39) therefore reads:

$\begin{matrix} {{{{pc}_{k}\left( t^{\prime} \right)} = {\sum\limits_{j = 1}^{N}{{{PC}_{jk}(t)} \cdot {R_{j}\left( t^{\prime} \right)}}}},} & (43) \end{matrix}$ where t is fixed to the end of the time series, i.e. t′<t. The update setting of the PC analysis is favored when the correlation structure is strongly changing over time and the assumption of stable orthogonal components is not justified. For the first two scores pc₁(t′) and pc₂(t′) the dynamic correlation may be estimated using equation (36) with λ=0.97. We normalize the covariance following

$\begin{matrix} {\rho_{12} = \frac{{Cov}\left( {{pc}_{1},{pc}_{2}} \right)}{\sqrt{{Cov}\left( {{pc}_{1},{pc}_{1}} \right)}\sqrt{{Cov}\left( {{pc}_{2},{pc}_{2}} \right)}}} & (44) \end{matrix}$ to obtain the dynamical correlation. The derivation date of the PCs between may vary between 2008 and 2013. For time-steps far in history with regards to the derivation date, the local dynamic correlation of equation (44) can be very different from zero. FIG. 36 illustrates this effect. The scores, rotated with the covariance matrix derived in November 2013, get a strong negative correlation in 2007. The interpretation of this negative correlation with regards to the PCs of November 2013 is complex, and can combine for instance a different intensity of the Samuelson effect with a different dynamic of the second component (inversion of the curve slope). FIG. 36 shows an illustrative chart showing dynamic correlation of time series scores associated with a financial product according to aspects of the disclosure.

In some cases, the dimension reduction module 232 may be configured not to update any scores for the time series. The alternative to the full update of the history of the scores is to keep the historical projections in time. Practically, Equation (39) becomes:

$\begin{matrix} {{{pc}_{k}\left( t^{\prime} \right)} = {\sum\limits_{j = 1}^{N}{{{PC}_{jk}\left( t^{\prime} \right)} \cdot {{R_{j}\left( t^{\prime} \right)}.}}}} & (45) \end{matrix}$

The historical transformation vectors PC_(jk)(t′) are used instead of the derivation date vectors PC_(jk)(t). The resulting correlations (computed using Equation (44)) may fluctuate between about 50% and about −50%, with peaks around the financial crisis, indicating that locally the correlation structure changed significantly. For example, FIG. 37 shows a dynamic correlation of the first and second scores in the no-update case for crude oil using a covariance matrix derived with a lambda 0.98. Further, when contrasted with FIG. 35 there is no need to represent different derivation dates as they would lead to a same curve.

The basic assumption behind the no-update case is that the correlation between the scores is small enough to allow to be considered as uncorrelated. Even in regimes showing dynamical correlation the no update procedure can be advantageous since it results in less fluctuating scores. The gained stability of the scores can possibly lead to more stable (and satisfactory in terms of VaR coverage and clustering) margins as compared to the update procedure. Note that if the correlation structure is very stable, i.e. the dynamical correlation between scores is small, the update and non-update procedure lead to similar results for the scores. In this case the latter procedure may be used for computational reasons. The advantage of the no-update procedure is that only the last point is added to an existing set of scores, thus making the calculation extremely fast and providing extra control on the update process of the risk measures. A drawback of the no-update approach is that it assumes a high stability of the PCs. In particular, the PCs should not flip or fluctuate strongly, which brings some limitations in the context of curves with a lesser liquidity.

There are no strong theoretical arguments to reject or prefer the update or non-updated approach. The decision may be made by evaluating VaR back testing results. Performing a PC analysis we are selecting N_(PC) from the N components pc_(k)(t); k=1, . . . ; N in equation (39). These components explain almost all the observed correlation. The remaining N_(Generics)−N_(PC) components are the residuals. Although they explain less than 1% of the price surface variance, they still contain some volatility dynamics and so should not be considered as pure white noise. FIG. 39 represents this set of time series for an orthogonal model on WTI crude oil. The scale of the time series (peaks around 0.01) may be compared with the scale of the scores in other examples. In some cases, only the third score has a similar scale. As can be seen in FIGS. 38 and 39 for crude oil some volatility clustering is contained in the residuals, and thus a dynamic volatility model is useful also for the residuals.

Dimension reduction can also be achieved using a parameter-dependent model. As a result, the future prices are described by the time evolution of the parameters. We have investigated two models two-factor model where the price FT (t) given by:

two-factor model of Schwartz/Smith [2] where the price F_(T)(t) is given by ln F _(υ)(t)=X _(t) ¹ +X _(t) ² τ+X _(t) ⁴(1−e ^(−X) ^(t) ³ ^(τ))+(1−e ^(−2X) ^(t) ³ ^(τ))X _(t) ⁵,  (46) where X_(t) ^(i) with i=1 . . . 5 are parameters and τ is the time to maturity. polynomial fitting model F _(τ)(t)=X _(t) ⁵τ⁴ +X _(t) ⁴τ³ +X _(t) ³τ² +X _(t) ² τ+X _(t) ¹  (47) where X_(t) ^(i) with i=1 . . . 5 are the model parameters.

Following the fit of the models to crude oil data we investigate the stability of the parameter time series, test for autocorrelation in the parameters differences and apply AR-GARCH filtering in order to remove volatility clustering and autocorrelation effects. Both models are fitted to and tested on the data set June 2006-December 2013. The parameters of the Schwarz/Smith model are estimated using non-linear optimization of the squared error:

$\begin{matrix} {{s = {{\sum\limits_{i}\left( {{\overset{\sim}{F}}_{i} - F_{i}} \right)^{2}}->\min}},} & (48) \end{matrix}$ where i indexes all available price data and ˜Fi are the modeled prices. Gauging the quality of the model description on crude oil we observe overall satisfying model description except at the front end of the futures curve.

The FIGS. 40 and 41 show the model residuals for crude oil with and without regularization. FIG. 40 shows a residual surface for crude oil with the 2 factor model (46) without regularization. FIG. 41 shows a residual surface for crude oil with the 2 factor model (46) with regularization.

The time evolution of the first parameter X_(t) ^(i) is depicted in FIG. 42. FIG. 42 shows an illustrative chart showing a time evolution of the second parameter of the 2 factor model without regularizations. FIG. 43 shows an illustrative chart showing a time evolution of the second parameter of the 2-factor model using the regularization. The individual parameters show a rather erratic time dependence which is hard to treat with time series modeling techniques. To avoid large jumps in the parameter evolution we change the objective function (48) by an additional regularization term. The regularized objective function reads of the form

$\begin{matrix} {{s = {{\sum\limits_{i}\left( {{\overset{\sim}{F}}_{i} - F_{i}} \right)^{2}} + {\lambda{\sum\limits_{j}\left( {X_{t}^{j} - X_{t - 1}^{j}} \right)^{2}}}}},} & (49) \end{matrix}$

where j indexes the parameters. The results for the time series of the first parameter X1 with regularization term, for λ=1, is shown in FIG. 44. Additional time series for the parameters can be found in Appendix C. As the next step the autocorrelation of the time series of parameter differences ΔX _(t) ^(i) =X _(t) ^(i) −X _(t−1) ^(i) ,i=1, . . . ,5  (50) is assessed and the (augmented) Dickey-Fuller test is used to test for non-stationarity. The autocorrelation up to 30 lags for the first parameter is given in the FIG. 44. We include the autocorrelation plots of the remaining parameters. The null hypotheses of vanishing autocorrelation based on the Ljung-Box test is consistently rejected for 1 parameter. As autocorrelations are present in the parameter differences (50) a AR(1)-GARCH(1,1) model for filtering. Following the computation of innovations (58) we check again for autocorrelation in the innovations. The test result is shown for the first parameter in the FIG. 45. Clearly, the autocorrelation in the innovations is reduced and these innovations are used for risk estimation and backtesting. Our results for the VaR violation backtesting show that the VaR estimation is biased towards the front end of the curve. FIG. 44 shows an illustrative chart showing autocorrelation for a 2-factor model system. FIG. 45 shows an illustrative chart showing autocorrelation using regularization.

Note that the changes in the futures price may be modified by a first order approximation parameter changes

$\begin{matrix} {{{\Delta\; F} = {\sum\limits_{i}{{\nabla_{X_{i}}{F(X)}}\Delta\; X_{i}}}},} & (51) \end{matrix}$ where we for simplicity left out the time arguments in the future prices F and the parameters X.

The term VF(X) is the gradient on the future price surface with respect to the changes in the parameters X. For the 2-Factor model:

$\begin{matrix} {\frac{\partial{F(X)}}{\partial X_{1}} = 1} & (52) \\ {\frac{\partial{F(X)}}{\partial X_{2}} = \tau} & (53) \\ {\frac{\partial{F(X)}}{\partial X_{3}} = {{X_{t}^{4}\tau\; e^{{- X_{t}^{3}}\tau}} + {2X_{t}^{5}\tau\; e^{{- 2}X_{t}^{5}\tau}}}} & (54) \\ {\frac{\partial{F(X)}}{\partial X_{4}} = {1 - e^{{- X_{t}^{3}}\tau}}} & (55) \\ {\frac{\partial{F(X)}}{\partial X_{5}} = {1 - e^{{- 2}X_{t}^{3}\tau}}} & (56) \end{matrix}$

Moreover, ΔX denotes the parameter changes in time, cf. Eq. (50). Due to the non-linear dependence of the future price on the parameters, historically observed parameter changes ΔX can result in wrongly estimated price changes in the present. In formulae, one uses

$\begin{matrix} {{{\Delta\; F} = {\sum\limits_{i}{{\nabla_{X_{i}}{F\left( X_{0} \right)}}\Delta\; X_{i}}}},} & (57) \end{matrix}$ where X₀ denotes the present parameter values, to compute the prices distribution instead of mapping historical parameter changes to historical price changes using (51).

FIG. 46 shows an illustrative chart showing results for VaR99 violation coverage test for the 2 Factor model for outright long (upper panel) and outright short (lower panel positions on a financial product. FIG. 47 shows an illustrative residual surface for crude oil with the polynomial model 47 and without regulation. FIG. 48 shows an illustrative chart of a time series of the first parameter for the polynomial model without regularization.

In some cases, the dimension reduction module 232 may operate using a polynomial model according to aspects of the disclosure. The residuals are plotted in the FIG. 47 without regularization. We find again that the overall fit to data is satisfactory except for the front month. The parameter dynamics (FIG. 48) are more stable compared to the 2-Factor model and, from this perspective, there is no need to introduce a regularization. The autocorrelation in the parameter changes, shows a slow decay and indicates a complex model dynamics (with possibly long memory). The VaR violation plots show no bias with respect to positive or negative returns as it is expected from a linear model. The performance is however not satisfactory, in terms of VaR violation rates and clustering, at the front end of the curve.

The approach using parametric models presents already of series of difficulties at the single curve level. Both models have problems describing the front end of the curve. Additionally, future curves with high curvature are fitted rather poorly. Without including a regularization term in the fitting procedure the parameters is instable (for the 2-factor model). These instabilities are partly cured by the penalization of large jumps in the parameter time series. However, the parameter changes are strongly autocorrelated. These autocorrelations can be successfully reduced using AR filtering for the 2-Factor model but more investigations are needed for the polynomial model. The autocorrelations in polynomial model do belong to the AR-GARCH(1,1) model type and the removal of such effects by filtration is less successful. The tests on VaR violation fail for the front end of curve where the model description for both functional forms is poor. Additionally, the VaR estimation shows biases for long and short positions for the 2-Factor model. The biases could be due to the not-accounting for non-linear effects when mapping the simulations of parameters to price simulations. Note that for the parametric models the “scores” are the parameter changes ΔX. In detail, from the filtered simulations of the parameter changes ΔX the forecast price distribution is computed using the linear relationship (51). The gradient ∇F(X) is estimated using the parameters at derivation date (or the date of the forecast)—not the dates with each date of the historical parameters. Given the increased complexity of a satisfactory parametric model even before considering multi-curve settings, the PCA method to dimensional reduction of the price future data are clearly favored.

The variance scaling module 234 may use any number of approaches to model volatility of the scores. Three approaches are investigated to model the volatility of the scores. Additionally, engineering techniques are reviewed to constrain the pro-cyclicality feature of the risk measures, namely the volatility flooring and the dual lambda approach. The methods may include EWMA which allows fast computation and/or control of the model reactivity by the choice of λ. However EWMA requires the need to set or fit the parameter λ. A GARCH approach may also be used, which may provide fast reactivity in periods of crisis, however no clear gain compared to EWMA to justify the model complexity. A dual lambda approach may offer fast reactivity when necessary (e.g., in periods of crisis) and would prevent margin from shrinking consecutively to a set of small returns (e.g., in calm period). Dual Lambda approach requires input or calibration of two decay parameters λ and may be too conservative sometimes. Similarly, volatility flooring approach may provide anti-procyclicality but may result in very conservative (e.g., high) margins as well.

TABLE 3 Overview of methodologies for use in variance scaling Method Pros Cons Dual Fast reactivity in Two parameters Lambda periods of crisis to set Prevents margin from Conservative measure: shrinking consecutive to a Likely failing of set of small returns the Kupiec test Volatility Anti- Can potentially lead Flooring procyclicality to very conservative (high) margins EWMA Fast Computation Need to set Control of the model of fit the reactivity by the parameter λ choice of λ GARCH Fast reactivity in More complex periods of crisis than EWMA with Account for volatility similar results clustering

The dimension reduction module 232 may be used to reduce the dimensionality (e.g., number of risk factors) when computing a margin requirement for a portfolio of financial products and/or to present such to a user via a user interface screen. The variance scaling module 234 may be used to process a dynamic volatility model to scale a number of new risk factors obtained from dimension reduction module 232 and/or to present such to a user via a user interface screen. The dynamic volatility model processed by the variance scaling module 234 may be used to provide a sound set of innovations for simulations and to provide a forward looking volatility measure suited for margin measurements. When considering a time series r(t′) of returns, whether using scores or using another time series, the innovations may be defined as

$\begin{matrix} {{{{innovations}\left( t^{\prime} \right)} = \frac{r\left( t^{\prime} \right)}{\sigma\left( {t^{\prime} - 1} \right)}},} & (58) \end{matrix}$ where σ(t′−1) denotes the volatility estimate of the previous day. The one day time lag is introduced to account for the forecast uncertainty of volatility. A good volatility model may remove the dynamics of the individual scores, such as the volatility clustering as shown in FIG. 31. Further, successful volatility models fulfill the operational requirement of the margin measure (e.g. smoothness of the margins). Further, forward looking volatility will be used in the filtered historical simulation to reinsert the desired volatility to the sample of uncorrelated innovations. The volatility models are always trained on the expanding windows, starting at the beginning of each observation window being considered. Practically, a “burning” of 50 days may be used to avoid any instability caused by the first volatility estimate, as can be seen in FIG. 49.

The variance scaling module may process a score, an error term or a time series of parameter changes, where an exponentially weighted average (EWMA) volatility module may be defined as

$\begin{matrix} {{\sigma_{r}(t)} = {\sqrt{{\lambda_{EWMA}{\sigma_{r}^{2}\left( {t - 1} \right)}} + {\left( {1 - \lambda_{EWMA}} \right)\left( {{r(t)} - {\left\langle r \right\rangle_{\lambda}(t)}} \right)^{2}}}.}} & (59) \end{matrix}$

λ_(EWMA) is the decay parameter, r(t) is the time series (e.g. scores, error term, parameter changes, factor loadings), and

r

_(λ) is the exponentially weighted estimate of the mean. A de-meaning procedure is only used in the estimation of the time-varying volatility by complying to the second term in the variance formula var(X)=E(X²)−E(X)². However, note that no model for the mean, such as an AR process, is used. The volatility estimate is utilized only for filtering purpose, as the mean model may not be required because that would require an extra model and parameterization to measure the mean and de-meaning would require to enter the mean value back in both the margin and the backtesting engine.

Therefore the process for the average is

r

_(λ)(t)=(1−λ)r(t)+λ

r

_(λ)(t−1).  (60) and the time window is always expanding.

The parameter λ_(EWMA) usually ranges from about 0.94 to about 0.97. Values larger would fail to capture crisis as the static case is reached with a lambda of 1. We adopt an offset window (e.g., a burn in window) of 50 days to avoid finite size effects in the EWMA process. A seed value for the EWM average is the first return value and zero for the EW variance. Expanding the recursive definition (59) of the EWMA volatility model one observes that the model assigns the weights ω_(n)={(1−λ),λ(1−λ),λ²(1−λ), . . . ,λ^(N)(1−λ)},  (61) to the N historical dates, backwards from the most recent date. The finite sum of weights is

$\begin{matrix} {{{\sum\limits_{n = 1}^{\infty}\omega_{n}} = {\left( {1 - \lambda} \right) \cdot \left( {1 + \sum\limits_{1}^{N - 1}} \right)}},} & (62) \end{matrix}$ where,

$\begin{matrix} {\sum_{i}^{N - 1}{= {\sum\limits_{k = 1}^{N - 1}{\lambda^{k}.}}}} & (63) \end{matrix}$ in the limit of N→∞ the sum of weights (62) is equal to unity. For finite and not large N, the sum of weighs may deviate from unity and leads to an underestimation of the volatilities. To correct this finite size effect, (1−λ) may be replaced in (59) by

$\begin{matrix} \left. {1 - \lambda}\rightarrow{\frac{1}{1 + \sum_{1}^{N - 1}}.} \right. & (64) \end{matrix}$

Consequently, for the coefficient λ equation 59,

$\begin{matrix} {\left. {1 - \lambda}\rightarrow\frac{\sum_{1}^{N - 1}}{1 + \sum_{1}^{N - 1}} \right. = {\lambda{\frac{1 + \sum_{1}^{N - 2}}{1 + \sum_{1}^{N - 1}}.}}} & (65) \end{matrix}$

In the implementation the initial window (e.g., burn in window) may be set to a number in the range of about 50 to about 100 business days for the volatility estimate to avoid statistical effects due to the short length of the time series. Using a burn-in window the replacements in Eq. (64) and (65) have no practical effect for the EWMA volatility estimate. FIG. 49 shows a EWMA 0.94 on the first two PCs of crude oil. This figure is to be compared with the exact same plot, but using a GARCH model (FIG. 49). The volatility clustering of the scores, seen in FIG. 34, is almost disappeared as indicated by the autocorrelation plot of the squared innovations of the first component, as shown in FIG. 49A.

In some cases, a GARCH(1,1) model may be considered as candidate for the dynamic volatility model for use by the variance scaling module 234. The GARCH tends to provide slightly larger volatility spikes. At the peak of the energy crisis in 2008, the EWMA first score volatility reaches 0.33, while the GARCH model reaches 0.36. By construction, the GARCH model captures better the volatility clustering contained in the scores time series, yet the difference for the first lag is negligible. The biggest difference is observed for the day 2 lag. As such, the advantages provided by using the GARCH process may provide more complexity than is necessary with regards to its value added in terms of risk figures.

In some cases, the variance scaling module 234 may use a dual lambda approach that may include using two lambda parameters, λ_(fast) and λ_(slow), instead of one. Both lambda parameters are used in the EWM Var setup (59) for variance estimation. The innovations are derived using λ_(fast) solely, optimized for a daily horizon. However, the maximum of the two volatility estimates is taken when the innovations are multiplied by the volatility forecast to find the P&L simulations. FIG. 50A represents this interplay of two the parameters for the first score of crude oil. The dual lambda approach has several consequences, such as smoothing of the margins, high reactivity to crisis and slow reactivity to periods of calm. For example, the post-crisis margins are usually scaled using the slow lambda instead of the fast ones, making the decay more progressive and smoother. Further, The dual lambda approach allows taking a highly reactive fast lambda. Also, in periods of relative stability, such as observed in 2006 and 2013, the margins get driven by the slow lambda, providing a slow decay towards lower margins. In this sense, the dual lambda is a first step towards anti-procyclicality condition, yet it does not prevent the margins from shrinking to vanishing.

The volatility flooring is an extra layer added on top of the volatility model used, meant to add robustness and stability to the margins, and to prevent pro-cyclicality. At the generic simulation step, the volatility used to simulate a given score or error term is floored by the nth volatility quantile in a growing window as measured within the dynamic model. —In some cases, a configuration for which ICE Brent Crude first score volatility may be floored for a simulation. In an example, the floor may be set to the 10% quantile, preventing the margins to become too low in late 2013.

FIG. 51 illustrates the historical value of the floor through time for the first two scores of crude oil. As the quantile is measured on a growing window, the learning effect results in a high stability of the floor, making it nearly static. As the scores, and in particular the first one, are driving about 99% of the generics variance, to floor them has a very strong impact on the risk measures and make the model very conservative. For this reason, it is recommended to use a very low quantile (e.g. 10%). FIG. 52 illustrates the sensitivity of the quantile parameterization when applied to the first score of ICE Brent. As illustrated by the fast evolution of the floor at the beginning of the simulation, the procedure requires a significant time history to be efficient.

The error term does not drive the variance of the generics, however it plays a significant role for the risk of intra-curve spreads such as condors and butterflies. For intra-curve spreads very high correlations between consecutive generics can make the margin measures very small. These correlations are described by the scores and residual terms. Note, that the PC analysis leads to uncorrelated scores but the generic contracts can nevertheless be highly correlated. Therefore the error terms do have significant contributions to the correlations of generics and flooring the error terms influences the backtesting results for the intra-curve spreads. From these practical considerations and inspection of backtesting results a stronger floor is recommended on the error term, i.e. around 40%.

The covariance scaling module 236 may be used to implement a multi-curve correlation model. Multiple models have been investigated to describe correlation structures, where EWMC and DCC methods may be applied to both intra-curve correlations and to describe correlations among scores at inter-curve levels. The EWMC method may provide fast computation and/or control of the model reactivity by the choice of parameter lambda. However, this necessitates that a lambda value is set or fit before computing a margin value. A DCC method may provide a data driven estimated correlation dynamic and may be more flexible, however the model complexity is increased. Global PCA models may be used which may provide strong dimensional reductions and less inter-curve correlations that need to be captured through explicit covariance models, however, the results may be difficult to interpret and global PCs may not be stable.

TABLE 4 Overview of methodologies for use in covariance scaling Method Pros Cons EWMC Fast computation Need to set of fit λ Control of the model reactivity by the choice of parameter λ DCC Data driven estimated Model complexity correlation dynamic More flexible correlation dynamic Global PCA Strong dimensional reduction Difficult to interpret Less inter-curve correlation has Global PCs are not to be captured through explicit stable covariance models

The methodology for dimension reduction of the curves and variance scaling has been discussed above. After the described procedures the returns of the single curves are projected to volatility scaled scores (innovations) and volatility scaled errors. Those innovations however may still contain correlations, especially on the inter-curve level. The most appropriate model to capture these effects will be identified among the following approaches. The first approach is to describe each curve separately and inter-curve correlation effects are implicitly and statically captured through resampling of time-aligned innovations and residuals. The second approach is to describe each curve separately and dynamic inter-curve correlation effects are explicitly captured through a model of the correlation between normalized principal components (multivariate EW correlation/DCC). Static correlation effects are implicitly captured through resampling of time-aligned innovations and residuals. The third approach is to jointly describe the curves by performing a global PC rotation and then modeling the new risk factors using the same techniques used for single curves. The first approach assumes no dynamics in the correlation structure. Results on structural breaks, exponentially weighted correlation and constant conditional correlation (CCC) tests do not support this assumption.

As the EWMC constitutes a weighted sum (with positive weights) of the time series, instabilities of the correlation matrix (for example non-positivity) are excluded. Therefore the first model will be considered as benchmark model. The second approach captures dynamic in correlations but can suffer from dynamic stability issues. A typical sign is the occurrence of not well defined (not positive definite) correlation matrices. The third approach is an extension of the considered single curve methodology, however it suffers from the difficult interpretability and instability of the considered factors.

The EWMC model corresponds to the iterative relation C(t)=λC(t−1)+(1−λ) R (t) R ^(T)(t),  (69) where C(t) is the covariance matrix, R(t) is a vector of time series and R ^(T)(t) is given by R (t)=R(t)−

R

(t),  (70) where (R)(t) is the EWMA determined by

R

(t)=λ

R

(t−1)+(1−λ)R(t).  (71)

Equation (69) assumes the same dynamic for both variances and correlations. For the practical implementation the identities (64) to (65) apply also for the EWMC computation. This considered model is slightly more flexible, indeed the diagonal part of the covariance matrix is estimated using an EW variance estimation with different λ as described. Whereas the estimation of the covariance matrix of equation (69) focuses exclusively on the off-diagonal elements. Therefore, just the correlation matrix Corr associated with the covariance matrix C is effectively used to filter the scores innovations I_(t)=[I₁; . . . , I_(N)] of the N modeled curves. UI _(t)=chol(Corr)_(t−1) ⁻¹ ·I _(t)  (72) where UI_(t) are the uncorrelated innovations. These are historically resampled during the FHS procedure. For risk management purposes, there is a tradeoff between control and stability of the model and the need of i.i.d residuals for the subsequent filtered historical simulations. In some cases, two models may be compared to capture dynamic correlation. The first model aims at stability and robustness: a EWMC model with a fixed lambda parameter, chosen on historical data. The second model focuses on flexibility and optimal filtering a DCC model retrained at each time step based on maximum likelihood estimation (MLE). There is also the somehow intermediate approach of recalibrating a EWMC model at each time step. This is not considered since for this model the estimation of lambda does not decouple correlation and covariance effects. Therefore it is inconsistent with the use of the correlation matrix scaling as in Eq. (72), but may be useful in other cases.

The covariance scaling module 236 may process instructions to implement a dynamical conditional correlation (DCC) model, as opposed to the EWMC approach, where the DCC model may operate under an assumption of different dynamics for each variance and a different, but unique, dynamic for the correlation structure. For example, C(t)=D(t)Q ^(•)(t)D(t)  (73) Q ^(•)=diag(Q(t)^(−1/2) Q(t)diag(Q(t))^(−1/2):  (74) where C is the covariance matrix and D(t) is given by D(t)=diag(d ₁(t), . . . ,d _(N)(t)).  (75) The diagonal entries in (75) are defined by: d _(i)(t)=√{square root over (c _(ii)(t))},i=1, . . . ,N,  (76) where, c_(ij)(t) are the elements of the covariance matrix C(t). The Model dynamics may be given in terms of the matrix Q(t) as Q(t)=αQ(t−1)+βR ^(•T)(t−1)R ^(•)(t−1)+(1−α−β) Q,  (77) where α and β are parameters and Q is the normalized unconditional variance matrix of R_(i)(t). The time series R_(i)*(t) is the (normalized) unconditional variance matrix of R_(i)(t). R _(i) ^(•)(t)=R _(i)(t)/σ_(i)(t),  (78) where σ_(i)(t) are univariate estimated volatilities of R₁(t). The first step is the estimation of the univariate volatilities σ_(i) by calibrating GARCH(1,1) processes to the time series Ri(t). Second, the matrix Q is the static estimate of the covariance matrix normalized by the static volatilities σ_(i), e.g., Q _(ij)=Cov(R _(i) ,R _(j))/(σ _(i) σ _(j))  (79) where σ _(i) is given

$\begin{matrix} {{\overset{\_}{\sigma}}_{i}^{2} = {\frac{1}{N - 1}{\sum\limits_{n = 1}^{N}\left( {{R_{i}\left( t_{n} \right)} - {\overset{\_}{R}}_{i}} \right)^{2}}}} & (80) \end{matrix}$ where R _(I) is the mean. Third, the parameters α and β are found by a maximum likelihood estimation (MLE) fitting procedure, where the likelihood function reads:

$\begin{matrix} {{L\left( {\alpha,\beta} \right)} = {\frac{1}{2}{\sum\limits_{t}{\left( {{\ln\left( {2\pi} \right)} + {\ln\left( {\det\;{Q(t)}} \right)} + {\sum{{R^{*T}(t)}{R^{*}(t)}\text{/}{{diag}\left( {Q(t)} \right)}}}} \right).}}}} & (81) \end{matrix}$

Fourth, the Cholesky decomposition of the DCC correlation matrix Q_(i)*(t) is computed and inverted. Finally, the resulting matrix is used to generate uncorrelated innovations UI _(t)=chol(Q ^(•)(t))_(t) ⁻¹ ·I _(t).  (82)

Note that the time convention in the definition of UI_(t) for the DCC model is different from the corresponding one for the EWMC model in equation 72. The MLE fitting procedure of this model can be decoupled in a variance estimation procedure and a pseudo-correlation estimation on volatility filtered returns. This makes the calibration of this model consistent with the subsequent use of correlation scaling suggested in Equation (72). Furthermore, this model has the advantage of using a GARCH-like dynamic for the covariance, which is more flexible than the dynamic assumed by using exponential weighted estimation. The model provides therefore a suited calibration procedure for optimal correlation filtering as well as sufficient flexibility to capture changes in the correlation dynamics. The downside is that the dynamics of the parameters and can be substantial and lead to model instability.

As a test case, the DCC and EWMC models are trained on the pair ICE Brent crude/WTI Crude oil. The two parameters in the used time series were both always positive, and their sum was slightly lower 1, indicating a satisfactory fit. The stability of the fit (based on a growing time window) is supporting a DCC approach. FIGS. 53A and 53B show an illustrative comparison of the resulting correlation of the first generics of the two commodities discussed above. For example, FIG. 53A illustrates front month correlations of the curve spreads from an EWMC 0.97 model. FIG. 53B illustrates front month correlations of the curve spreads from a DCC model. The break in correlation of January 2011 results in both cases in a strong drop. With EWMC, it decreases to 52.5%, and then fluctuates around 80%. While using DCC, it falls to 65%, and then fluctuates around 85%. In the context of a spread product, the EWMC tend to give conservative estimates of the correlations. This observation is confirmed by the large scale results.

The VaR estimation module 238 may process instructions to facilitate a forecast simulation of returns is necessary for obtaining an estimate of the value at risk (VaR). In order to generate scenarios we use filtered historical simulations (FHS). This approach combines two ideas, namely sampling of historical residuals and scaling of residuals by a model driven parameter such as the forecast volatility or correlation.

Given the raw futures price data F_(Ti)(t), where Ti is the expiration date of the ith contract, one finds generic contract return R_(n) ^((g))(t), where n is a generic number according to its time-to-maturity. In contrast to interpolation, rolling does not introduce artificial price data. However, with a rolled contract the time-to-maturity is not strictly fixed as is the case using interpolated data points.

Second, the return surface, i.e. the returns depending on time-to-maturity and observation time, is dimensionally reduced. There are two possible reductions: principle component analysis (PCA) or parametric models. The following shows a PCA approach. Having derived an estimate of the covariance matrix C (by EWMC or multivariate GARCH model) we are diagonalizing C as C(t)=PC(t)Λ(t)PC ^(T)(t)  (83) to obtain the principle components. Using the orthogonal matrix PC=[PC₁(t), . . . , PC_(N)(t)], the principle components may be found using

$\begin{matrix} {{{{pc}_{k}\left( {t,t^{\prime}} \right)}{\sum\limits_{j = 1}^{N}{{{PC}_{jk}(t)}{R_{j}\left( t^{\prime} \right)}}}},} & (84) \end{matrix}$

Where we distinguish the training window (t′) and the derivation date of principle components (t). Multiplying the last equation with the PC matrix we can relate the scores to the original return time series.

$\begin{matrix} {{{R_{i}\left( t^{\prime} \right)} = {{\sum\limits_{k = 1}^{n}{P{{C_{ik}(t)} \cdot {{pc}_{k}\left( {t,t^{\prime}} \right)}}}} + {\epsilon_{i}\left( t^{\prime} \right)}}},} & (85) \\ {{\epsilon_{i}\left( t^{\prime} \right)} = {\sum\limits_{k = {n + 1}}^{N}{P{{C_{ik}(t)} \cdot {{{pc}_{k}\left( {t,t^{\prime}} \right)}.}}}}} & (86) \end{matrix}$

where we have noted the two time arguments explicitly. Retaining only a small number of scores, n is usually fixed between n=3 and n=5. Additionally, N−n residual scores are kept in error term ϵ(t′). No matter if non-updating or updating of scores is selected, one finds with the few time series for the scores and the remaining residuals. The total number of time series equals the number of generic futures.

Third, innovations I may be defined as:

$\begin{matrix} {{I_{k}\left( {t,t^{\prime}} \right)} = \frac{p{c_{k}\left( {t,t^{\prime}} \right)}}{\sigma_{I}^{k}\left( {t^{\prime} - 1} \right)}} & (87) \end{matrix}$

where σ_(I) ^(k) (t′−1) is the volatility of the kth score pc_(k)(t, t′) on the previous business day. Different volatility models can be used to estimate σ_(I). Again, a choice may be made among EWMC or multivariate GARCH, dual-lambda and the option of volatility flooring. However, note that volatilities limited by flooring are not used to standardize innovations but only to scale back the standardized innovations.

Fourth, filtering the correlation structure on the inter- and intracurve level. The correlation matrix may be estimated using one of the following models: EWMC, DCC, and global PCA. Each of the models leads to a correlation matrix Con that is used to generate uncorrelated innovations by UI _(t)(t,t′)=chol(Corr)_(t′−1) ⁻¹ ·I(t,t′)  (88)

where chol denotes the Cholesky decomposition and UI_(t)(t, t′) are the time series of uncorrelated innovations at derivation date t. Note, that similar to the volatility scaling step, this decorrelation step is done on each day of the look-back window using that day's correlation matrix.

After the correlation scaling we are left with a set of uncorrelated innovations UI and variance scaled residual terms (85). The latter read

$\begin{matrix} {{z_{i}\left( {t,t^{\prime}} \right)} = \frac{p{c_{i}\left( {t,t^{\prime}} \right)}}{\sigma_{ɛ}^{i}\left( {t^{\prime} - 1} \right)}} & (89) \end{matrix}$ where σ_(ε) ^(i)(t′) is the variance estimate of pc_(i)(t,t′). The index i in Equation (89) selects only PC scores which contribute to the error term in Equation (85). The time-aligned uncorrelated innovations UI and residuals z_(i) are assumed to i.i.d and are sampled for scenario generation. In this way the empirical return distributions is accounted for and we obtain the simulations UI_(sim)(t) and variance scaled residual simulation z_(sim)(t). The simulations of uncorrelated innovations are scaled back by pc _(sim)(t)=diag(σ(t))·chol(Corr(t))·UI _(sim)(t).  (90)

The simulated scaled residual terms z_(sim) ^(i)(t) are multiplied by the corresponding standard deviation σ_(ε) ^(i)(t) and sampled in line with the innovations. Explicitly ε_(sim) ^(i)(t)=z _(sim) ^(i)(t)·σ_(ε) ^(i)(t),i=n+1, . . . N.  (91)

Furthermore the simulations of scores and rescaled residuals are transformed back to returns as in Eq. (85). Summing both terms leads to the simulated returns: r _(sim) ^(i)(t)=Σ_(k=1) ^(n) PC _(ik)(t)·pc _(sim)(t)+Σ_(k=n+1) ^(N) PC _(ik)(t)·ε_(sim) ^(k)(t)  (92)

Using the return simulations r_(sim) ^(l)(t) we obtain P&L simulation on the portfolio level by

$\begin{matrix} {{{P\&}{L_{sim}(t)}} = {\sum\limits_{i = 1}^{n_{L}}{\omega_{i}\left( {{e^{r_{\min}^{i}{(t)}}{F_{r}^{i}(t)}} - {F_{\tau}^{i}(t)}} \right)}}} & (93) \end{matrix}$ where n_(L), ω_(i) and F^(i) _(τ)(t) are the number of legs, the ith leg's weight (position size) and the ith futures price at time t and ttm τ, respectively. Finally, the margin VaR is estimated as the α quantile of the simulated sample P&L_(sim).

Dual Lambda and volatility flooring may be performed by the VaR estimation module 238. The default exponentially weighted estimate with parameter λ for the variance of the time series r(t) reads σ_(EWM) ²(t)=λσ_(EWM) ²(t−1)+(1−λ)r ²(t).  (94)

In the dual-lambda approach one considers two parameters λ_(fast); λ_(slow) and the corresponding processes of the form (94). Here attributes “fast” and “slow” should indicate how reactive the variance estimate is. These values may be chosen from a range of values from about 0.9 to about 1, where typical parameter values are λ_(slow)=0.99,  (93) λ_(fast)=0.94.  (96)

In general, the final volatility estimate for the dual-lambda approach may be found by σ(t)=max(σ_(slow)(t),σ_(fast)(t)).  (97)

However, in deriving the innovations by Eq. (87) σ_(fast)(t) is used. The result of Equation (97) multiplies the simulations of the innovations and thereby influences the margin estimation.

Volatility flooring introduces a lower limit to the volatility estimation. The estimate for σ_(Model)(t), as computed by processes such as (94) may be compared to fixed nth, quantile Q_(n) of the historical volatility. Specifically, the sample of historical volatilities {σ(s) with s≤t} within a growing estimation window is used to estimate the quantile σ_(Q) _(n) (t)={circumflex over (Q)}n{σ(g)|g≤t}.  (98) The floored volatility is found as σ(t)=max(σ_(Model)(t),σ_(Q) _(n) (t)).  (99)

As in the dual-lambda, in the practical implementation the resulting volatility of Equation (99) is only used on the simulation level to rescale the simulation of innovations as in Eq. (90). The flooring is not employed in deriving the innovations. Statistically small volatilities may be avoided by following the flooring strategy and may introduce additional stability to margins.

The VaR estimation module 238 may choose the sample to use for VaR estimates to be equal to the entire currently available N_(Hist) historical innovations. This option has the advantage of providing stable VaR time series. However, a more conservative approach which accounts for Monte-Carlo VaR estimation errors can be considered. In this case the VaR estimation is based on a bootstrapping procedure. This consists first in generating N_(Btstr) samples (e.g., set N_(Btstr)=100) of N_(Hist) innovations obtained by resampling with replacement historical innovations and calculating for each sample a VaR estimates VaR_(n) (n=1 . . . N_(Btstr)). The final VaR is obtained as the 5%-quantile of the obtained empirical VaR distribution.

In some cases, the margin calculator 240 may process a backtesting procedure where various combinations of instruments may be simulated using the proposed parameterization. The selection criteria may be one or both qualitative and quantitative.

In some cases, the margin calculator 240 may perform a quantitative test, such as an unconditional coverage test. The goal of this test may be to measure whether it is statistically reasonable that the reported value-at-risk is violated more (or less) than α×100% of the time. To this end, the Kupiec test may be used. A violation may be described as a Bernoulli trial:

$V:=\left\{ {\begin{matrix} {1,} & {{if}\mspace{14mu}{VaR}_{\alpha}\mspace{14mu}{exceeded}} \\ {0,} & {else} \end{matrix}.} \right.$

These heuristics give rise to the following null hypothesis: V_(t) follows the binomial distribution with parameters N and q=1−α. Thus, the test consists of evaluating if the estimated parameter

$\hat{q} = \frac{n_{V}}{N}$ is significantly different from the value 1−α with a certain confidence level (CL), n_(V) being the total number of var violations observed on the sample and N denotes the sample size. We reject the null hypothesis if {circumflex over (q)} is significantly different from 1−α. The confidence interval [Q_(lb); Q_(ub)] at confidence level (e.g., CL=99%) for the estimated parameter {circumflex over (q)} is found using the Clopper Pearson method [6]. For the upper bound of the confidence interval one has

$\begin{matrix} {{v_{1}^{ub} = {2\left( {n_{V} + 1} \right)}},} & (103) \\ {{v_{2}^{ub} = {2\left( {N - n_{V}} \right)}},} & (104) \\ {{X_{ub} = {F^{- 1}\left( {\frac{CL}{2},v_{1}^{ub},v_{2}^{ub}} \right)}},} & (105) \\ {Q_{ub} = {\frac{v_{1}^{ub}X_{ub}}{v_{2}^{ub} + {v_{1}^{ub}X_{ub}}}.}} & (106) \end{matrix}$

The lower bound reads

$\begin{matrix} {{v_{1}^{lb} = {2n_{V}}},} & (107) \\ {{v_{2}^{lb} = {2\left( {N - n_{V} + 1} \right)}},} & (108) \\ {{X_{lb} = {F^{- 1}\left( {{1 - \frac{CL}{2}},v_{1}^{lb},v_{2}^{lb}} \right)}},} & (109) \\ {Q_{lb} = {\frac{v_{1}^{lb}X_{lb}}{v_{2}^{lb} + {v_{1}^{lb}X_{lb}}}.}} & (110) \end{matrix}$

The transformation in (106) and (110) may be used to utilize the inverse F-distribution. Several formulations of the Clopper Pearson method may be used. Alternatively, a β-distribution may be used directly to find the lower and upper bounds. The likelihood ratio for the Kupiec test reads: LR _(kupiec)=−2 ln(α^(n) ^(V) (1−α)^(N−n) ^(V) )+2 ln(q ^(n) ^(V) (1−q)^(N−n) ^(V) ,  (111) where α is the level in VaR_(α). The likelihood ratio is asymtotically x_(i) ² distributed with one degree of freedom. Therefore the p-value for the Kupiec test may be given by: p _(kupiec)=1−χ₁ ²(LR _(kupiec)).  (112)

In some cases, margin calculator 240 may perform an independence test, where the goal of the independence test may be to assess the significance of violation clustering throughout the testing set. A good margin model may avoid clustering of the violations, even if the independence test is successful.

The Christoffersen test may be used. The core idea is to investigate whether there is a time dependency (as measured by the time elapsed between two consecutive violations) in the testing sample. Under the violation independence assumption, no time dependency should be detected. Specifically, let v=(v₁, . . . , v_(n))ϵN_(n) be the vector of time indices between two VaR_(α) violations, where v₁ is the time of the first violation. The likelihood ratio for each violation is given by:

$\begin{matrix} {{{LR}_{i} = {{- 2}{\log\left( \frac{{p\left( {1 - p} \right)}^{v_{i} - 1}}{\left( \frac{1}{v_{i}} \right)\left( {1 - \frac{1}{v_{i}}} \right)^{v_{i} - 1}} \right)}}},} & (113) \end{matrix}$ where I=(1, . . . , n). Under the null hypothesis of independent VaR_(α) violations:

$\begin{matrix} {{LR} = {\sum\limits_{i = 1}^{n}{\left\lbrack {{- 2}{\log\left( \frac{{p\left( {1 - p} \right)}^{v_{i} - 1}}{\left( \frac{1}{v_{i}} \right)\left( {1 - \frac{1}{v_{i}}} \right)^{v_{i} - 1}} \right)}} \right\rbrack.}}} & (114) \end{matrix}$ is x_(i) ² distributed with n degrees of freedom. The p-value for the Christoffersen test therefore reads: p _(Cbris)=1−χ_(n) ²(LR).  (115)

The outcome of these two tests is measured by the resulting p-value. The color convention may be specified as a function of the confidence level considered, and is described in FIG. 54.

The margin module may provide an additional quantitative indicators, such as a mean VaR violation rate that may be defined:

$\begin{matrix} {{{meanVaRRate} = \frac{n_{V}}{N}},} & (116) \end{matrix}$

with n_(v) the total number of violations observed on the simulation sample of size N (the training set may be excluded) and may be expressed in percentage. This indicator may be key to understand the impact of a failed Kupiec test, such as whether the risk is over-estimated or under-estimated

A mean break size indicator may be defined as a mean ratio of the violations by the corresponding VaR number:

$\begin{matrix} {{{meanBreakSize} = {\frac{1}{n_{V}}{\sum\limits_{v \in V}^{n_{V}}\frac{{PL}\left( t_{v} \right)}{{VaR}_{a}\left( t_{v} \right)}}}},} & (117) \end{matrix}$ with the t_(v) sample time of each of the n_(v) violations contained in the violation set V and may be expressed in percentage.

A maximum margin increase indicator may give an overview of the smoothness of the margin curve and may be expressed in percentage and may be defined by:

$\begin{matrix} {{maxMarginIncrease} = {\max_{t\; \in T}{\left( \frac{{VaR}_{a}\left( {t + 1} \right)}{{VaR}_{a}(t)} \right).}}} & (118) \end{matrix}$

In some cases, the margin calculator 240 may determine a maximum number of breaks within a one year moving window (e.g., a 252 moving window) that may be used on the training set. The maximum observed is reported. This indicator may be useful to understand a failing independence test. Moreover, a plot may be provided in the backtesting report that may illustrate when exactly the maximum is reached throughout the backtest period. An example is shown in FIG. 55.

Because the numerical procedures may need to be supported in validating a module, therefore one or more qualitative inspection methods may be provided to provide a visual check of the model. One or more inputs may be provided to the user to allow an indication of whether or not the test has been passed to be used by the margin calculator 240 in computing a margin or indicating that the test has been failed. For example, different scenarios may cause the margin calculator 240 to provide one or more visual indicators to a user via a user interface screen in cases including a failed Kupiec test due to risk over-estimation (e.g., is the over-estimation acceptable) or a failed Christoffersen test due to a local clustering effect. This Christofferson independence test is strongly sensitive not only to the clustering of violations, but also to the number of violations. The results should therefore be subject to interpretation via a user interface screen. Other user interface screens may be used to present results for illiquid curves, smoothness of the margins and/or a level of anti-procyclicality. Some tools (e.g., volatility flooring, dual-lambda) may allow the model to be made more robust regarding economic cycles. However, they tend to make Kupiec tests fail. In some cases, results at the back end of the curve may be presented to a user via a user interface screens. The back-end of the curve can be subject to low liquidity and artificial data creation (e.g., a condor on crude oil in the back end of the curve, which may result in a trinomial distribution, plus or minus 1 cent, or 0). As the model may not be applicable on discrete distributions, the results of the Kupiec and Christoffersen tests should be subject to caution when applied in these cases.

FIG. 3 shows an illustrative method performed using computer-executable instructions when processed by a clearinghouse computing system according to aspects of this disclosure. For example at 310 the clearinghouse computing system 210 may retrieve information corresponding to a portfolio of financial products including a plurality of futures products. To determine a margin contribution for each of the plurality of futures products, the time series generator 230 may be used to construct generic time series for each futures product and/or family of futures products as discussed above. The rolling procedure may be preferred over the interpolation and has an advantage of allowing one-to-one mapping with the existing future. Empirical statistical analysis has shown that the time to maturity effect for the front month is small. In the back-end of the curve, an extrapolation technique may be used to fill the missing data and thus generate generics for these far months. Linear extrapolation is used on the price level. If a time series is missing, an extension model is designed to generate artificial data. The time series generator uses the maximum data available and does not truncate long-time-series because some of the curves have limited time-range. Specifically, a Student's t-distribution inverse conditional expectation formula may be used.

At 320, the dimension reduction module 232 may process instructions stored in the memory 214 to perform dimension reduction for the generic time series generated by the time series generator. Here, every listed product price and maturity is considered a “dimension.” In doing so, a large data set is created when every dimension of a large suite of products must be analyzed to determine margin. By utilizing the Principal Component Analysis (PCA) technique, the term structure curve dynamics can be captured by a few factors instead of the full set of maturities. The reduced set of factors identified by PCA may then be used to describe the correlation dynamic. The remaining factors will be still considered when doing the variance scaling for single product. As such, the large number of dimensions is reduced when facing multi-products, while the volatility for single product is still preserved.

At 330, the variance scaling module 234 may perform variance scaling using a dynamic EWMV (Exponentially Weighted Moving Variance) volatility model. This EWMV model may be applied on both the major factors identified by PCA and the residuals to remove the volatility clustering on the time series of data and provide an independently, identically distributed (i.i.d.) innovations for the historical simulations. The second goal is to provide a forward looking volatility measure suited for margin measurements.

At 340, the covariance scaling module 236 may perform covariance scaling on a multi-product data set (e.g. a portfolio containing multiple products), the handling of correlation dynamics may be crucial for portfolio margining. A EWMC (Exponentially Weighted Moving Covariance) correlation model may be applied on the major factors identified by PCA for all products, in order to scale the correlated innovations obtained from step 2 to non-correlated i.i.ds, as well as to provide a forward looking correlation suited for margin measurements. In some cases, the correlation model may be applied only on the few selected PCs. The assumption is thus that the intra- and inter-curve correlation dynamics is captured by these few PCs for all curves. Tests have shown that the DCC model may be used, as opposed to an EWMC model, but the results show only a marginal improvement with regards to the complexity of DCC and the need to fit the parameters.

At 350, the VaR estimation module 238 may be used to generate the forecast simulation of returns to obtain an estimate of the VaR. In order to generate scenarios, the filtered historical simulation (FHS) is used. This approach samples the uncorrelated historical innovations obtained and scales them by model driven parameters, namely, the forecast volatility and correlation. The scaled factors are then transformed back to the price log returns which will be treated as the price shocks and be applied at the portfolio level to obtain the portfolio shocks. The final margin value or VaR comes from a pre-defined percentile of the portfolio shock distribution. In some cases, a Filtered Historical Simulation may be used based on the chosen volatility model, where in case of a dual lambda model, only the fast lambda is used to derive the innovations. The obtained innovations (e.g., the expanding windows of all the data points available) for the scores are de-correlated using a Cholesky decomposition, and after simulation, they are rescaled again using the correlation matrix obtained from the correlation model. Once the PCs and residuals are simulated, they are finally rotated back to the return space using the PCs. Here, the residuals (e.g., the left scores) are also simulated using Filtered Historical Simulations, however they are not adjusted by a dynamic correlation model. The VaR estimate (e.g., margin value) can finally be measured as the quantile of the obtained scenarios

At 360, the margin calculator may perform backtesting and/or other validation tests to ensure validity of the computed margin value. In some cases, the margin calculator may sum a plurality of margin values (e.g., VaR values) computed for a subset of a portfolio, to generate a margin requirement for the entire portfolio.

Extension of Futures Margin Methodology to Seasonal Products

This disclosure describes, in some aspects, a physical container (e.g., a battery) may be filled up (charged) or emptied (discharged) with energy commensurate with requirements to post a particular amount of collateral. The disclosure provides computing systems and methods for processing data using a novel combination of wavelet techniques and rolling techniques to more efficiently detect seasonality in particular products (e.g., energy products) to more accurately model and determine collateral/margin requirements. A clearinghouse computing device may be configured to generate a margin requirement for a portfolio of products and may include a processor to process instructions that cause the clearinghouse computing device to perform wavelet decomposition and rolling methods on a historical database of records.

In addition, this disclosure also describes, in some aspects, a model framework for evaluation of the risk of futures products on seasonal commodities, and computation of margin requirements for futures portfolios. Some examples of seasonal products include, but are not limited to, natural gas (NG) products, heating oil (HO) products, gasoline (RB) products, ICE Gasoil (ICE G) products, and their derivatives. The model framework comprises several stages as illustrated in FIG. 56. From a data stage 5602 to a pre-scenario processing stage 5604 to a historical scenario building stage 5606 to a post-scenario processing stage 5608.

In the “data processing” stage within the data stage 5602, contract price series are decomposed into seasonal and de-seasonalized components, then used/handled in building up time series of generics. The handling of seasonalities, as well as the data extension to tackle different data adequacy of different products, may be included in this stage (or alternatively, in a subsequent stage). The deseasonalization may occur at the price level, and returns for the resulting de-seasonalized component and seasonal component may be computed respectively. A rolling procedure for the deseasonalized component may follow the same procedure as a non-seasonal product, in one embodiment. However, the rolling procedure for the seasonal component may be altered to preserve the phase invariant and/or contract month. Even though the rolling procedure can still follow the same as the deseasonalized counterpart, it may result in additional requirement in the later stage of simulation. If a time series is missing, an extension model is designed to generate artificial data. The extension is performed respectively for deseasonalized component and seasonal component.

In a “dimension reduction” stage within the pre-scenario processing stage 5604, numerous steps may be performed to reduce the dimensionality of the deseasonalized and seasonal components. Because of the multiplicity of futures and/or of different physical commodities, a dimension reduction may be desirable. For the deseasonalized component, it may be treated as a non-seasonal product, thus the preferred dimension reduction technique is PCA. In numerous embodiments, no dimension reduction on the seasonal component is required or desired. For de-seasonalized component, in one example, the dimension reduction is performed using the same technique of principal component analysis as described in greater detail below. For the seasonal component, the dimension reduction might not be necessary in some examples because inter-curve correlations corresponding to seasonal component are accounted implicitly through time-alignment.

Meanwhile, in a “variance scaling” stage within the historical scenario building stage 5606, a dynamic volatility model may be used to scale the generic simulations for both the deseasonalized and seasonal components. The variance scaling may be applied, in some examples, on both return time series of de-seasonalized component and seasonal component through the EWMA model or dual-lambda model to capture dynamics of the score time series from the deseasonalized component and seasonal component. This technique is the same as described above. The details of the variance scaling procedure are the same as described in greater detail below. This procedure provides standardized innovations and forecast volatility.

The historical scenario building stage 5606 may also include a “covariance scaling” stage in which the correlation model for deseasonlized components and seasonal components may be presented, respectively. For the deseasonalized component, the dynamics of the correlation may be captured by EWMC model from major PCs of all products, which is the same as described above. For the seasonal component, at least two approaches are possible. One approach is to skip the covariance scaling procedure. The other approach is to apply covariance scaling slightly differently; though the mathematical technique is the same, the object in the covariance scaling, in one example, is not principal components from various products; instead, covariance scaling is performed, in this example, on all of the generic time series of seasonal component from the same product. For example, the correlation stemming from the seasonal component implicitly through time-alignment seasonal innovations may be captured.

Finally, in the post-scenario processing stage 5608, an explanation may be found of how the simulations are performed, and may provide a summary of the analysis. This stage may sometimes be referred to as the (value-at-risk) “VaR estimation” stage. A filtered historical simulation may be used based on the previous chosen models. For seasonal commodities, the simulations are typically from two streams, since at the beginning seasonal future curves are split using wavelet filters into a deseasonalized curve and a seasonal component. The former is treated as a non-seasonal curve via standard FHS. Besides simulations of the de-seasonalized part, one also may desire simulations of the seasonal component. To this end the seasonal components may be volatility filtered, and then resealed by forecast volatility. In one example, the FHS may combine two ideas, namely: (1) sampling of historical residuals; and (2) scaling of residuals by a model driven parameter such as the forecast volatility or correlation. Adding the simulations of de-seasonalized and seasonal component yields the P&L simulations of the seasonal curve. The VaR estimate may finally be measured as the quantile of the obtained scenarios.

We discuss each stage, with respect to seasonal instruments, in turn below.

Data Processing Stage

In the data processing stage, contract price series are decomposed into seasonal and deseasonalized components, then used/handled in building up time series of generics. The handling of seasonalities, as well as the data extension to tackle different data adequacy of different products, may be included in this stage (or alternatively, in a subsequent stage).

For some commodities like natural gas, gasoline and heating oil, seasonality is manifested in the forward curve. Seasonality with respect to contract maturity T or to the observation time t can possibly be observed in the return volatilities and correlations. Since an analysis on deseasonalization was previously provided herein (see above), the bulk of this stage will describe the details on how seasonality is accounted for on the level of simulations.

In arriving at the effective de-seasonalization approach, some tests were considered in assessing the presence of seasonality in (log-)returns and price difference volatility. The standard deviation and the correlations of returns (or price differences) X_(T) (t) were regressed against monthly indicators. Thereby the correlations and standard deviations were computed using a window of 500 (or other number of) trading days closest to the observation date. Here T indicates the maturity of the considered contract and t is between two pre-determined dates (e.g., 2 Oct. 2006 and 1 Jan. 2014). Determining seasonality with respect to maturity of the contract, in addition to others, an unconditional standard deviation model was considered. Since these tests do not discriminate between different time-to-maturity along a given contract, the Samuelson effect, as well as volatility clustering effects, could shadow seasonal effects. In order to investigate how those effects depend on time-to-maturity and allowing for additional seasonal effects, possibly hidden by averaging over different time-to-maturity, one may calculate the volatility of price changes of contracts. These contracts are clustered by maturity month of the first generic contract as well as time-to-maturity. The results show that the observed seasonalities in volatility and correlation increase with decreasing time-to-maturity and no further seasonal effect is manifest.

Having considered above a standard deviation method and the like, three approaches emerge as better possibilities for the de-seasonalization process. These are based on a modulated Fourier expansion approach, direct interpolation approach, and a wavelet decomposition approach. Some advantages and drawbacks of each approach are listed in Table 100 below. The deseasonalization approach may be chosen according to the following criteria: (1) whether the seasonal component is stable and its estimation robust; (2) whether the procedure may be applied to all seasonal commodities (natural gas, gasoline and heating oil); and/or (3) whether any seasonality effects are observed after deseasonalization.

TABLE 100 Method Pros Cons Fourier straightforward data poor and Analysis model unstable fit Direct simple approach problematic for Interpolation improved fit of short curves seasonal Wavelets stable seasonal Only dyadic component scale good performance transformation

In contrast to the wavelet approach, the other two approaches (e.g., Fourier expansion approach and interpolation approach) have various drawbacks. They provide quite intricate ways of handling a non-stationary series of data with seasonality. Note that utilizing Fourier expansion assumes implicitly stationarity of the seasonality. Specifically, for the expansion of the seasonality into trigonometric functions to work one has to have an amplitude-stable periodic seasonal component.

Deseasonalization aims at decoupling the seasonal and non-seasonal effects of price of commodities (with seasonality). The idea is to split future prices FT (t) into a deseasonalized component nd a seasonal component: F _(T)(t)=deSeas_(T)(t)+Seas_(T)(t)  (6)

The curve deSeas_(T)(t), with seasonal effects filtered away, is subsequently handled in the same way as curves of non-seasonal commodities.

Wavelet Approach

In accordance with various aspects of the disclosure, the wavelet approach offers a more elegant, flexible, and robust technique. A wavelet deseaonalization approach provides satisfactory results in terms of quality and robustness in the wavelet decomposition. As will be explained in greater detail below, an analysis of the wavelets D8, D12, D20 and MB8 with reflection, asymmetric or polynomial boundary conditions shows that setting J=4 (wavelength approximately equal to 16 months) the wavelet D12 with polynomial boundary condition succeeds in deseasonalizing the natural gas forward curve.

The discrete wavelet transform is an orthonormal basis expansion, and coefficients cj₀(k) and dj(k) are given by:

$\begin{matrix} {{{f(x)} = {{\sum\limits_{k \in Z}{{c_{j\; 0}(k)}{\varphi_{j_{0},k}(x)}}} + {\sum\limits_{k \in Z}{\sum\limits_{j = j_{0}}^{\infty}{{d_{j}(k)}{\psi_{j,k}(x)}}}}}},} & (18) \\ {{{c_{j_{0}}(k)} = {\int{{f(x)}{\varphi_{j_{0},k}(x)}{dx}}}},} & (19) \\ {{d_{j}(k)} = {\int{{f(x)}{\varphi_{j,k}(x)}{{dx}.}}}} & (20) \end{matrix}$

where j0 is an arbitrary integer number. The basic functions may be divided into a scaling (ϕj0,k(x)) and a wavelet part (ψj,k(x)). Both sets of functions are each generated from a unique function ϕ or ψ, called the father and mother wavelet. φ_(j) ₀ _(,k)(x)=2^(j) ⁰ ^(/2)φ(2^(j) ⁰ x−k),  (21) ψ_(j,k)(x)=2^(j/2)ψ(2^(j) x−k).  (22)

The basis functions are generated from the father/mother wavelets by scaling level and translations. Each value of j determines a scale or resolution level while, for a fixed j, the basis functions are found by translation in k. Unlike the standard Fourier approach the functions ϕj,k and ψj,k are usually chosen to have compact support, which allows for a local time analysis. Depending on the value of j0 one finds for discrete wavelets different multi-resolution decompositions of L²(R), the space of square-integral functions (see FIG. 58, Ref. 5802). In general, L ²(R)=V _(j0) ⊕W _(j0) ⊕W _(j) ₀ ₊₁⊕ . . . ,  (23)

where V_(j0)(W_(j0)) is spanned by the functions ϕ_(j0)(k)(ψ_(j0,k)). Setting j0=−∞ leads to the decomposition L ²(R)= . . . ⊕V _(j) ⊕W _(j+1)⊕ . . . ,  (24)

using only wavelet functions. The spaces W_(j)=span(ψ_(j,k)|kϵZ) contain signals with a wavelength increasing with j. Because spaces with higher resolution also comprise signals having lower resolution (e.g., setting j0=∞), this property implies two-scale equations that can be expanded as:

$\begin{matrix} {{{\varphi(x)} = {\sqrt{2}{\sum\limits_{n \in Z}{{h_{0}(n)}{\varphi\left( {{2x} - n} \right)}}}}},} & (27) \end{matrix}$

where the coefficients h₀(n) describe how the resolution is increased. Similarly, the expansion of ψ(x) in basis functions of V1 reads:

$\begin{matrix} {{\psi(x)} = {\sqrt{2}{\sum\limits_{n \in Z}{{h_{1}(n)}{{\varphi\left( {{2x} - n} \right)}.}}}}} & (28) \end{matrix}$

The equations (27) and (28) are sometimes referred to as two-scale equations. When transformed to frequency space one identifies h₀(n) as a low-pass filter and h₁(n) as the complementary high-pass filter.

Furthermore, from the requirement that wavelets span the orthogonal component, one derives a relation between filter coefficients. If there are only finitely many N coefficients h₀(n) one chooses k=N/2, such that the relation for h₁(n) is mathematically described as: h ₁(n)=(−1)^(n) h ₀(N+1−n).  (30)

The filter coefficients h₀(n) and h₁(n) are iteratively convoluted with the signal and downsampling (e.g., discarding every second function value, or different interval) is applied. The filters inherit the following properties from the definition (27) and the ortho-normalization of the scaling functions and wavelets

Normalization

$\begin{matrix} {{{\sum\limits_{n}{h_{0}^{2}(n)}} = {{1\mspace{14mu}{and}\mspace{14mu}{\sum\limits_{n}{h_{1}^{2}(n)}}} = 1}},} & (31) \end{matrix}$

Simple sums

$\begin{matrix} {{{\sum\limits_{n}{h_{0}(n)}} = {{\sqrt{2}\mspace{14mu}{and}\mspace{14mu}{\sum\limits_{n}{h_{1}(n)}}} = 0}},} & (32) \end{matrix}$

Even and odd sums of both filters

$\begin{matrix} {{{\sum\limits_{n}{h_{0}\left( {2n} \right)}} = {{\sum\limits_{n}{h_{0}\left( {{2n} + 1} \right)}} = \frac{1}{\sqrt{2}}}},} & (33) \\ {{{\sum\limits_{n}{h_{1}\left( {2n} \right)}} = {{- {\sum\limits_{n}{h_{1}\left( {{2n} + 1} \right)}}} = \frac{1}{\sqrt{2}}}},} & (34) \end{matrix}$

Double shift orthogonality

$\begin{matrix} {{{\sum\limits_{n}^{\;}{{h_{0}(n)}{h_{0}\left( {n - {2k}} \right)}}} = 0},{{{for}\mspace{14mu} k} \neq 0},} & (35) \\ {{{\sum\limits_{n}^{\;}{{h_{1}(n)}{h_{1}\left( {n - {2k}} \right)}}} = 0},{{{for}\mspace{14mu} k} \neq 0},} & (36) \\ {{{\sum\limits_{n}^{\;}{{h_{0}(n)}{h_{1}\left( {n - {2k}} \right)}}} = 0},{{{for}\mspace{14mu} k} \neq 0},} & (37) \\ \; & (38) \end{matrix}$

Low pass property

$\begin{matrix} {{\sum\limits_{n}^{\;}{\left( {- 1} \right)^{n}{h_{0}(n)}}} = 0.} & (39) \end{matrix}$

The filter properties may be used to find desirable filters which converge to continuous basic scaling and wavelet functions. Several mother/father wavelets exist, each providing an orthonormal basis for L2. Since smooth, deseasonalized curves are desired that are in a clear frequency cut, we consider two standard families of wavelets: (1) Dn introduced by Daubechies; and (2) MBDTn introduced by Morris and Peravali. The former being more smooth, while the latter provides sharper frequency band-pass. Some examples of wavelets include Daubechies wavelets D8, Daubechies wavelets D12, the Daubechies wavelets D20, and MBDT wavelets MB8 (MBDT8). A person of skill in the art will appreciate that other wavelets are possible and contemplated for use in accordance with various aspects of the disclosure.

Among these wavelet families (or other, desirable wavelet families), the system may choose the actual wavelet (i.e., to fix n). In one example, simulations were conducted where n=8, 12, 20. Filters of order n have n coefficients and n/2 vanishing moments (e.g., they preserve polynomials of corresponding order). On the backside, high orders of n imply less localized filters. This can be problematic for short forward curves or at the boundaries.

Cascade Algorithm.

Applying this wavelet to a discrete signal like a forward curve (e.g., F_(T) ₁ (t), F_(T) ₂ (t), . . . , F_(T) _(N) (t)) at time t, the curve may be decomposed using a wavelet analysis with respect to time-to-maturity τ.

$\begin{matrix} {{{F_{\tau}(t)} = {{F_{\tau}^{(j_{0})}(t)} + {\sum\limits_{j > j_{0}}{F_{\tau}^{(j)}(t)}}}},} & (40) \\ {{F_{\tau}^{(j_{0})}(t)} = {\sum\limits_{k}{{c_{j_{0}}(k)}{\varphi_{j_{0},k}(\tau)}}}} & (41) \\ {{F_{\tau}^{(j)}(t)} = {2^{j/2}{\sum\limits_{k}{{d_{j}(k)}{{\psi_{j,k}(\tau)}.}}}}} & (42) \end{matrix}$

Here each function F^((j)) adds more resolution. The forward curve has a natural upper limit in resolution because it is monthly discrete data, thus no additional information can be recovered by using wavelets with finer resolution. However, a person having skill in the art will appreciate that various aspects of the disclosure may operate with higher or lower upper limits in resolution.

In practical implementations of the discrete wavelet transform a reversed strategy, using the coefficients h₀(n) in (27) and h₁(n) in (30) in order to lower the scale j to j−1, is applied. Equation (27) is generalized to arbitrary j as follows

$\begin{matrix} {{\varphi_{j,k}(x)} = {\sum\limits_{n}{{h_{0}(n)}{{\varphi_{{j + 1},{{2k} + n}}(x)}.}}}} & (43) \end{matrix}$

Using (43) in the expansion (18) one finds analogous relations involving the coefficients cj(k) and dj(k):

$\begin{matrix} {{{c_{j}(k)} = {\sum\limits_{n}{{h_{0}(n)}{c_{j + 1}\left( {{2k} + n} \right)}}}},} & (44) \\ {{d_{j}(k)} = {\sum\limits_{n}{{h_{1}(n)}{{c_{j + 1}\left( {{2k} + n} \right)}.}}}} & (45) \end{matrix}$

These relationships show that giving the so-called filter coefficients h₀(n) and h₁(n) are an equivalent definition of the wavelet expansion. Once initial coefficients cj(k) at a high scale j are specified all other coefficients c_(i)(k), d_(i)(k) with i<j can be derived by convolution and down-sampling. The latter step means operationally y(n)=x(2n),  (46)

where x(n) (y(n)) is the input (output) signal. The output signal may have a length that is half the length of x.

Meanwhile, building off the aforementioned, a formula to reconstruct a higher-scale signal using the filter coefficients and the lower-scale signal may read as follows:

$\begin{matrix} {{c_{j + 1}(k)} = {{\sum\limits_{n}\;{{c_{j}\left( {\left( {k - n} \right)\text{/}2} \right)}{h_{0}(n)}}} + {\sum\limits_{n}\;{{d_{j}\left( {\left( {k - n} \right)\text{/}2} \right)}{{h_{1}(n)}.}}}}} & (47) \end{matrix}$

The individual terms in Equation (47) are sometimes referred to as reconstruction filters. The first term involving h is a low-pass reconstruction filter and the second term involving h₁ is called high pass reconstruction filter. Note that the filter coefficients in Equation (47) are the same as before but sampled in reversed order (note the −n for the coefficients cj and dj in (47)). Additionally, up-sampling, as indicated by the (k−n)/2 as index, may be applied.

In summary, in one example in accordance with aspects disclosed herein, the wavelet decomposition algorithm comprises:

-   (1) taking the forward curve F_(τ)(t) at fixed observation date as     initial coefficients cj_(max)(k), where jmax is a monthly scale; -   (2) extending the N original filter coefficients due to the boundary     extensions. Possible boundary extensions are discussed below and     herein; -   (3) applying equations (44) and (45) J times in order to compute     cj_(max)−J(k), dj_(max)−1−l(k) for l=0, . . . J−1; and -   (4) constructing a split of the forward curve into deseasonalized     and seasonal parts on the original (monthly) scale applying the     reconstruction filters in equation (47).

A person having skill in the art after review of the entirety disclosed herein will appreciate that one or more steps and/or sub-steps may be performed in the aforementioned example.

For example, in the first step, the original data may be used as the scaling coefficients cj_(max)(k) in the analysis of discrete signal since, in some examples, a maximal signal resolution exists. The output will be a decomposition of the form (40) where k is a discretization of time-to-maturity τ. The first term reads:

$\begin{matrix} {{{deSeas}_{k}(t)} = {\sum\limits_{n_{1}}{{h_{0}\left( n_{1} \right)}{\left( {\sum\limits_{n_{2}}{{h_{0}\left( n_{2} \right)}\left( {\ldots\mspace{14mu}{\sum\limits_{n_{j}}{{h_{0}\left( n_{J - 1} \right)}{c_{j_{\max} - J}\left( {\left( {k - n_{J - 1}} \right)\text{/}2} \right)}}}} \right)}} \right).}}}} & (48) \end{matrix}$

In other words, the coefficients cj_(max)−J (k) of the scaling functions are transformed back to the original scale by applying J times a low-pass reconstruction filter.

The seasonal part consists of all corrections due to wavelets between the scales jmax and jmax−J. For the wavelet analysis, one has the wavelet coefficients dj(k) for all j=(jmax−J), . . . , jmax. The total seasonal part has the form:

$\begin{matrix} {{{Seas}_{k}(t)} = {\sum\limits_{j = 1}^{J}\;{{{Seas}_{k}^{(j)}(t)}.}}} & (49) \end{matrix}$

The individual summands have the form:

$\begin{matrix} {{{Seas}_{k}^{(j)}(t)} = {\sum\limits_{n_{1}}{{h_{0}\left( n_{1} \right)}{\left( {\sum\limits_{n_{2}}{{h_{0}\left( n_{2} \right)}\mspace{14mu}\ldots\mspace{14mu}\left( {\sum\limits_{n_{j}}{{h_{1}\left( n_{j} \right)}{d_{j_{\max} - j}\left( {\left( {k - n_{j}} \right)\text{/}2} \right)}}} \right)}} \right).}}}} & (50) \end{matrix}$

Each of the coefficients dj(k) is filtered by a high-pass reconstruction filter followed by filtration using low-pass reconstruction filters. Comparing to Eq. (47) one recognizes that the innermost sum in (50) contributes to cj+1(k).

This setup may be used with the value J=4. The value of J may be chosen such that the corresponding wavelength is approximately one year (or any other length of time). Note that the wavelength of the considered wavelets may be constrained to 2^(J) months by construction. During the wavelet algorithm, the starting monthly scale may be lowered to a 2⁴=16 month scale. All wavelet contributions between the 16-month and 1-month scale are identified as seasonal. The scaling/father wavelet part is the deseasonalized component.

Boundary Extensions in the Wavelet Approach

In the wavelet approach, boundary extension may be desirable in some examples.

Observing equations (44) and (45), one notices that the convolutions require either the filter coefficients or the scaling/wavelet coefficients to be extended at the boundaries. The filters employed, in one example, may have N=8, 12, 20 coefficients, respectively. Extensions may be given in terms of the forward curve, as this data set is equivalent to the initial coefficients cj(k). The extension incorporates the addition of N−1 point for each boundary, (e.g., 2(N−1) points in total) in order to make the convolution sums well-defined.

Various different methods for boundary extensions are possible. In turn below, the disclosure describes the approaches of: (1) same-phase linear (SPL); (2) same-phase difference (SPD); and (3) reflection, asymmetric and polynomial. Later, the disclosure also discussion a comparison of boundary conditions, and what has been revealed by testing. Then, the disclosure explains how to deal with short seasonal forward curves (e.g., based on SPL/SPD boundary, or based on polynomial boundary).

Same-phase linear (SPL) Assuming the curvature of the underlying deseasonalized curve is not large at front end of the curve, the two-point same phase linear extrapolation approach may be used. (In some instances, if curvature is very large, the linear extrapolation may be substituted with a model-based fit to capture non-linear effect.) Denoting F (t, δ) is the point to be constructed beyond the boundary, one finds the two nearest points at the same phase in the original curve denoted as F (t, δ+T) and F (t, δ+2T), where T is the period of the signal. Then one may use these two points to extrapolate linearly the target point as Eq. (51). F(t,δ)=2F(t,δ+T)−F(t,δ+2T)  (51)

This boundary condition requires at least two cycles (e.g., one cycle=12 points) presented in the signal. In other words, the curve length must, in some examples, be larger than 2×12=24. FIG. 60 further illustrate a schematic view 6000 of this method. The blue dots are simulated futures curve and the dashed magenta dots are extrapolation.

Same-phase difference (SPD) When curve length is less than two cycles but larger than one cycle, the same-phase difference method may be useful. Denoting the first point of the signal as F(t, 1). First, a straight line f(δ) is constructed by using F (t, 1) and F (t, 1+T) as Eq. (52). Assuming the points from the same phase have the same distance (difference) to this line, one can add the difference from the same phase on top of the extrapolated straight line as the constructed points. Denoting the target point to be extrapolated as F(t, δ), this step may be described in Eq. (53). This boundary condition requires at least one cycle presented in the signal. In other words, the curve length must be larger than 1×12=12, in some examples.

$\begin{matrix} {{f\left( {t,\delta} \right)} = {{F\left( {t,1} \right)} + {\frac{{F\left( {t,{1 + T}} \right)} - {F\left( {t,1} \right)}}{T}\left( {\delta - 1} \right)}}} & (52) \\ \begin{matrix} {{F\left( {t,\delta} \right)} = {{f\left( {t,\delta} \right)} + {{same}\mspace{14mu}{phase}\mspace{14mu}{{diff}.}}}} \\ {= {{f\left( {t,\delta} \right)} + {F\left( {t,{\delta + T}} \right)} - {f\left( {t,{\delta + T}} \right)}}} \end{matrix} & (53) \end{matrix}$

FIG. 61 further illustrate a schematic view 6100 of the SPD approach, in which the blue dots are simulated futures curve and the dashed magenta dots are extrapolation.

Reflection, Asymmetric and Polynomial. Other approaches also include the reflection, asymmetric and polynomial boundary extensions approach. Equations (54) to (55) define the extensions. The extension on the right end of the forward curve is for all cases the reflection one. And, PN/2−1 is a polynomial of order N/2−1 fitted to the asymmetric boundary extension. F _(T) _(−k) (t)=F _(T) _(k) (t)(reflection),  (54) F _(T) _(−k) (t)=2F _(T) ₁ (t)−F _(T) _(k) (t)(asymmetric),  (55) F _(T) _(−k) (t)=P _(N/2-1){2F _(T) ₁ (t)−F _(T) _(k) }_(T) _(−k) (t)(polynomial),  (56)

Comparison of boundary conditions. Boundary conditions affect the phase accuracy of decomposition on the boundaries. Recalling that the left boundary is actually the front month contract that generates the most volatility of the curve, robust decomposition on the boundaries may be a useful feature, in some embodiments.

To demonstrate phase inaccuracy using the default boundary, one can simulate eight curves with different phases φ=0, π/4, 2π/4, . . . , 7π/4, and decompose them using db=12, J=4 and default polynomial boundary to check if the seasonal component near front end are extracted correctly. The phase of the left boundary are always almost zero; even though eight phases are tested as input, there are no differentiation in the left end of the output seasonal part. The simulations show that the SPL boundary results are more accurate phase extraction compared to the polynomial boundary.

The simulation may also be performed on simulated short curves with nineteen contracts in the curve. The simulated curve may follow a superposition of periodic function with a trend. These simulations show that seasonal component using polynomial always starts from 0 for the first point, with no reflection to the true phase; while the seasonal component using SPD does.

Short seasonal forward curves So far it was assumed that sufficiently long forward curves are used for the wavelet decomposition. When the curve length is too limited to perform a default wavelet of db12 with J=4, we define alternatives to handle these cases in this section.

A general reasoning is as follows: the deseasonlized component is achieved on repeated filtering only on the low-frequency part. To filter all seasonal component is equivalent to have a smooth deseasonalized curve. There are two ways to achieve this, one is to keep decomposition level deep, and the other is to use a wavelet filter with large wavelength such that the “Low frequency” component at each step is smooth. Due to this reason, the default setting is “db=12,J=4”. If it is impossible to keep both of these two, for example in the case of a short curve, one needs to comprise one of the two.

Two approaches are described below. In some embodiments, the first approach may be more desirable for various reasons.

Based on SPL/SPD boundary. One choice is to prioritize the decomposition level J, namely, preferring “db=8, J=4” to “db12, J=3”. The algorithm is described in Table 102.

TABLE 102 curve wavelet and boundary  (24, +∞) db12, J = 4, SPL or [19, 24] db12, J = 4, SPD [15, 18] db12, J = 4, SPD [11, 14] db8, J = 4, SPD  (0, 10] as non-seasonal

Based on polynomial boundary. Another choice is to prioritize the wavelength, namely, preferring “db=12, J=3” to “db8, J=4”. Let's first describe what sufficiently long means in a default setup, i.e., using the D12 wavelet and J=4 as decomposition level. Furthermore let N be the length of forward curve and F be the length of the filter, i.e., the number of filter coefficients. The wavelets MF or DF have F coefficients. Due to the boundary extensions (54) to (56) one has to require N≥F at the initial level of the wavelet decomposition. Moreover, going from level J to J+1 reduces the length of the curve following:

$\begin{matrix} {{\left. N_{J}\rightarrow N_{J + 1} \right. = \frac{N_{J} + F - 1}{2}},} & (59) \end{matrix}$

where N_(J) is the curve length at level J. Note, that condition N_(J)≥F constraints the initial curve length. Thus, an alternative algorithm based on polynomial boundary can be (1) initial curve length N<12, regard curve as non-seasonal, set vanishing seasonal component; and (2) initial curve length 12≤N≤14, use D8 wavelet and reduce decomposition level to J=3. The level reduction leads to the identification of seasonal effects with curve fluctuations of wavelength smaller than 8 month.

Wavelet Approach—Test Data

The wavelet approach provides results as robust as an interpolation approach, and at the same time, the wavelet approach also provides stable seasonal components for short forward curves. In addition, this remains true after comparing the seasonal and deseasonalized components for price, return, and volatility, respectively, for each generic.

The seasonal effects (price, volatility and the majority of correlation effects) on the other side are captured by a seasonal component. As a test whether the seasonal component is correctly identified one may apply the wavelet approach to non-seasonal commodities, namely crude oil. The identified seasonal component of crude oil is not strictly zero but in general small. When the quantity is shown for natural gas using wavelet deseasonalization, one observes that seasonal component contributes only about 5% to total natural gas prices. Seasonal indicators, which are obtained by linear regression of the volatility of de-seasonalized natural gas price differences against seasonal monthly indicators, show that the seasonal indicators are small in magnitude and not significantly differ from zero. For example, based on a correlation matrix of the deseasonalized component of natural gas returns for consecutive months as a function of time-to-maturity and observation time on a monthly scale (labeled as first generic maturity month), one observes that a correlation break (e.g., March-April) is absent in the deseasonalized curve and fully absorbed in the seasonal part.

In yet another example, based on results for seasonal indicators of the regression analysis between the volatility of price differences in the seasonal component of natural gas and monthly indicator functions, one observes that the seasonal component shows seasonal behavior also in the volatilities.

In yet another example involving wavelet deseasonalization on WTI crude oil, when the ratio of seasonal components and futures prices against generic contracts and observation time is plotted, one notices that part (at maximum 10%) of the front month dynamic is identified as seasonal behavior. A peak in the front month in 2009 is because the front month futures drops from roughly $100 to $20 in a short period, thus the ratio of Seas/PFC is increased. Notably, part of fluctuations during the crisis are also (wrongly) identified as seasonality.

In some examples, the price for seasonal component (and the returns) can become negative, and it may be desirable to take absolute values for the comparison. Moreover the fraction v of the seasonal part of the total price is normalized and analogously for the fraction of the deseasonalized part. Here ( ) denotes the static mean and n the generic month. The same normalization is applied for returns.

In other examples in accordance with various aspects of the disclosure, deseasonalization results on natural gas for different wavelet types and boundary conditions are analyzed. The D8 and MB8 wavelet, the analysis reveals, do not fully remove the seasonality. Meanwhile, using the wavelet D20 also does not improve on the results as compared to those obtained by the D12 wavelet. The asymmetric boundary condition leads to better (e.g., less fluctuating) results than reflection boundary conditions.

For example, FIG. 62A illustrates deseasonalized price of natural gas with D8 wavelet and reflection boundary conditions. FIG. 62B illustrates deseasonalized price of natural gas with D8 wavelet and asymmetric boundary conditions. FIG. 62C illustrates deseasonalized price of natural gas with D8 wavelet and polynomial boundary conditions.

Meanwhile, FIG. 62D illustrates deseasonalized price of natural gas with MB8 wavelet and reflection boundary conditions. FIG. 62E illustrates deseasonalized price of natural gas with MB8 wavelet and asymmetric boundary conditions. FIG. 62F illustrates deseasonalized price of natural gas with MB8 wavelet and polynomial boundary conditions.

Meanwhile, FIG. 62G illustrates deseasonalized price of natural gas with D20 wavelet and reflection boundary conditions. FIG. 62H illustrates deseasonalized price of natural gas with D20 wavelet and asymmetric boundary conditions. FIG. 62I illustrates deseasonalized price of natural gas with D20 wavelet and polynomial boundary conditions.

Wavelet Outlier Detection

For seasonal commodities different from natural gas (NG), notably heating oil (HO), margin spikes in the backtests have been observed. These spikes can be traced back to abnormally large seasonal part differences. As the wavelet decomposition is a multi-level algorithm it can happen that contributions from different decomposition levels nearly compensate each other. These compensation effects lead to an increased sensitivity to input data of the wavelet approach. Generally, increased changes in the seasonal component will affect the deseasonalized component as both must add up to the original price forward curve. The outlier detection screens for situations where the same error, with opposite sign, occurs in changes of the deseasonalized component. Having such an error contributing with opposite signs may lead to artificially increased volatility for seasonal and deseasonalized component. Hence one observes a strong impact in the backtests.

Assuming a large error contribution, one may define the following indicator variable:

$\begin{matrix} {{L\left( {{\Delta\;{{Seas}_{T}(t)}},{\Delta\;{{deSeas}_{T}(t)}}} \right)} = {- {\frac{\Delta\;{{{Seas}_{T}(t)} \cdot \Delta}\;{{deSeas}_{T}(t)}}{{{\Delta\;{{Seas}_{T}(t)}}} + {{\Delta\;{{deSeas}_{T}(t)}}}}.}}} & (64) \end{matrix}$

Geometrically, the indicator compares the area of a rectangular to the circumference. Naturally, (64) becomes maximal for a quadratic shape. This geometric intuition is identified with the situation if both ΔSeas_(T)(t) and ΔdeSeas_(T)(t) are dominated by ±ε, respectively. With this image in mind outliers are identified using a 3σ approach. Because of the additional sign in Equation (64) one can focus on positive values of L. Negative values for the indicator variable are omitted as those do not describe compensating error terms. Let L{tilde over ( )} be the positive values of L. Then the outlier threshold reads:

$\begin{matrix} {{\sigma_{L} = \sqrt{\frac{1}{N_{L} - 1}{\sum\limits_{\ell}\;\left( {{{\overset{\sim}{L}}_{T}\left( t_{\ell} \right)} - {\overset{\_}{L}}_{T}} \right)^{2}}}},} & (65) \\ {{\overset{\_}{L}}_{T} = {\frac{1}{N_{\overset{\sim}{L}}}{\sum\limits_{\ell}{{{\overset{\sim}{L}}_{T}\left( t_{\ell} \right)}.}}}} & (66) \\ {{L\left( {t_{o},T_{o}} \right)} > {3\;\sigma_{L}}} & (67) \end{matrix}$

If an outlier is successfully identified at the observation time t₀ the seasonal return and the seasonal price difference at t₀ are replaced by the corresponding quantities at the business day prior to t₀. Note, that we apply the replacement only to the seasonal component, the deseasonalized component stays unchanged.

In addition, the cleansed data set, (e.g., with outliers removed) is used in the subsequent outlier detection at later times.

Rolling Methodology

In the “data processing” stage within the data stage 5602, in addition to wavelet approach to deseasonalization, a rolling procedure for the deseasonalized component may follow the same procedure as a non-seasonal product, in one embodiment. In contrast, the rolling procedure for the seasonal component is altered to preserve the phase invariant and/or contract month.

The rolling procedure may be used to construct the return time series for de-seasonalized curve and seasonal curve. The deseasonalization portion was described in detail above. Meanwhile, the seasonal component, which results after decomposition of futures curve for each observation date, shows that the contract month, instead of the observation month, characterizes the phase of seasonal component. That phase is quite stable in all historical dates for a certain contract, which again reveals an attribute of seasonality.

We must note that the concept of phase differentiates itself from the stochastic process of de-seasonalized part. It also indicates that phase should be preserved, namely phase invariant, when shocking the seasonal component of a contract. Contrary to the rolling procedure for de-seasonalized component that preserving the time-to-maturity, the rolling procedure for seasonal component relaxes the constraint of time-to-maturity but achieves the goal of phase invariant. This relaxation on the time-to-maturity is given way to the preservation of seasonal phases. A schematic view of the procedure, in some examples in accordance with various aspects of the disclosure, is as follows:

step 1: the return of seasonal component for the same contract are computed for all historical dates; and

step 2: the return of seasonal component on the same phase (contract month) and the generics from each year are grouped together as the scenarios. Every other year, one may switch to another contract (same contract month, contract year decrements by 1) to make the time-to-maturity consistent.

Note that this construction method or rolling method is different from conventional rolling method for non-seasonal futures and non-seasonal part of seasonal futures. One of the key differences is that this method to construct generic time series for seasonal scenarios depend on the margin date, while the conventional method does not. This adds some complexity to the construction procedure.

Before formulating this rolling procedure, one may define a few notations below:

-   -   r_(s) is return of seasonal component, generalized for all types         of returns. In this case, we choose price difference as the         return type;     -   margin date is t, historical date is t^(l),t^(l)≤t;     -   r_(s)(t^(l), T) is return of contract T at time t^(l);     -   r_(s) ^((g))(t^(l), t) is the g-th generics return at time t^(l)         constructed for margin date t. As mentioned, the construction         depends on margin date as well; and     -   Tg(t) is g-th contract in the futures curve at time t. E.g.,         T₁(t) is the front month contract, or the first contract, at         time t.

The procedure described above can be formulated as:

$\begin{matrix} {{{r_{s}^{(g)}\left( {t^{\prime},t} \right)} = {{{r\left( {t^{\prime},T} \right)}❘T} = {T_{g + l}\left( t^{\prime} \right)}}},{l = {\min\limits_{l}\left( {{{Month}\mspace{11mu}\left( {T_{l}\left( t^{\prime} \right)} \right)} = {{Month}\mspace{11mu}\left( {T_{1}(t)} \right)}} \right)}}} & (68) \end{matrix}$

where l, translating the math, is the index of the first contract at time t^(l) that has the same contract month as the front month contract at margin date T₁(t).

Due to the fact that seasonal component of price can be negative, the “return” for the seasonal component can be either defined as price difference or the so-called pseudo-return. They are discussed below.

Price difference and pseudo-return. When quantifying the return of seasonal component, we have mentioned that in Sect. 1.2.2 that there are two choices of definition. One is simply price difference. An alternative to quantify the return is the so-called pseudo-return. It is defined by scaling the price difference with the corresponding de-seasonalized component as

$\begin{matrix} {{r_{s}(t)} = \frac{{p_{s}(t)} - {p_{s}\left( {t - 1} \right)}}{p_{d}(t)}} & (70) \end{matrix}$

The time series and distributions of these two returns are compared below.

For example, for a fixed contract, the magnitude of the pseudo-returns are more compact due to scaling, however, it does not change the pattern of large volatility around a particular time period. In terms of distribution, the histogram of the returns reveals no significant difference. As an alternative approach, the rolling procedure for seasonal component can also be the same as de-seasonalized component as described above.

Time Series Extension

The time series of different basic products start at different time points. For this reason, one may define an approach that allows one to build multi-curve models in such a way that longer time series data (possibly including very important period of crises) are efficiently exploited. An effective extension is especially important for historical multivariate scaled innovations. Those innovations are scarcely populated, especially in the tails, but heavily used in the historical simulation step. For seasonal products, one may define approaches to extend time series for de-seasonalized and seasonal components respectively.

Deseasonalized component extension. The de-seasonalized component is dimensionally reduced to a few principal components, e.g., one or more scores. The remaining is errors. Different methods are used to extend these two terms.

Scores. The first approach to extend time series of scores is via the conditional multivariate t distribution that was described above in greater detail. The second approach is a simplified version of the first one by considering the stable calibration. If the calibrated parameters are stable in history, one can consider fixing parameters which saves daily calibration cost. The simplified procedure is illustrated below:

Step 1. Standardize the uncorrelated innovations after the covariance scaling, which provides standardized time series with mean of zero and standard deviation of one;

Step 2. Use fixed parameters such as:

${v = c},{\mu = \overset{\rightarrow}{0}},{\sum{= {I*\frac{v - 2}{v}}}},$ where c is a constant value observed from stable calibration on the degrees of freedom and I is identity matrix, to extend time series following the same procedure described above; and

Step 3. Re-mean and re-scale the extended time series with mean and variance in step one.

Extending Errors

Two potential approaches to extend the errors innovations include: (1) regular bootstrapping, and (2) fixed bootstrapping. The regular bootstrap is the same as resampling, e.g., filling in empty data by randomly drawing with replacement from available historical data. In fixed bootstrapping, the missing data are filled with pre-defined available historical data. The two procedures are further illustrated below: regular bootstrapping, and fixed bootstrapping.

Regular bootstrapping. Let X={x1, x2, . . . xN} be the original time series and the time series should be filled I* to {x1, x2, . . . xN, . . . , xN+n}. A subset is randomly chosen from X, resulting in X={x1, x1, . . . x1}. Then the extended time series is: X′={X,X′*}={x ₁ ,x ₂ , . . . x _(N) ,x′ ₁ , . . . ,x′ _(n)}

Fixed Bootstrapping. One may divide the situation into two cases, N>n and n>N. If N>n, then let X^(I)*={x₁, x₂, . . . x_(n)} and the extended time series is filled as:

  If  N > n  Let  X^(′*) = {x₁, x₂, …  x_(n)}  and   the  extended  time  series  is  filled  as   X^(′) = {X, X^(′*)} = {x₁, x₂, …  x_(N), x₁, …  x_(n)}   If  N < n  Let $\mspace{14mu}{X^{\prime*} = {\left\{ {\underset{\underset{{{floor}{({n/N})}}\mspace{11mu} X}{︸}}{X,{X\mspace{14mu}\ldots\mspace{14mu} X}},x_{1},x_{2},{\ldots\mspace{14mu} x_{{mod}{({n,N})}}}} \right\} = {\left\{ {\underset{\underset{{{floor}{({n/N})}}\mspace{11mu}{\{{x_{1},{\ldots\mspace{14mu} x_{N}}}\}}}{︸}}{x_{1},{\ldots\mspace{14mu} x_{N}},x_{1},{\ldots\mspace{14mu} x_{N}}},x_{1},x_{2},{\ldots\mspace{14mu} x_{{mod}{({n,N})}}}} \right\}\mspace{14mu}{and}}}}$   the  extended  time  series  is  filled  as $\mspace{20mu}{X^{\prime} = {\left\{ {X,X^{\prime*}} \right\} = \left\{ {{\underset{\underset{{{ceil}{({n/N})}}\mspace{11mu}{\{{x_{1},{\ldots\mspace{14mu} x_{N}}}\}}}{︸}}{x_{1},{\ldots\mspace{14mu} x_{N}},x_{1},{\ldots\mspace{14mu} x_{N}},}x_{1}},{\ldots\mspace{14mu} x_{n}}} \right\}}}$

Seasonal component extension. After the time series in de-seasonalized component is extended, the time series in seasonal component may be extended accordingly to complete the extension of this seasonal product. A regression approach or a bootstrapping approach, among others, may be used.

Regression. Under a regression approach, different from non-seasonal products or the deseasonalized part of seasonal products, the correlation between seasonal innovations of different products is sufficiently low to be negligible. In a correlation matrix between natural gas and heating oil innovations, the massive off-diagonal elements representing the correlation between seasonal innovations of the two products are around zero. However, within the same product, the correlation of seasonal vs. seasonal are pronounced and that of seasonal vs. de-seasonalized is sizable at some extent. Thus, one may use linear regression to capture these correlations and utilize the fitted model to extend the time series. To simplify computation, one may regress a seasonal generic contract with its two neighboring seasonal generic contracts and all of major de-seasonalized innovations. Where I(s, j) represents the innovation I at derivation date s for generic contract j, the super-index differentiates seasonal and deseasonalized component by its name, and the regression function can be expressed as, with some re-arranging using a matrix: I ^(seas)(s)=B ⁻¹({right arrow over (β)}UI ^(deseas)(s)+{right arrow over (α)}+{right arrow over (ϵ)})  (72)

In Eq. (72), the coefficient matrix is calibrated through the regression, with the residual of regression shown. Once the deseasonalized, uncorrelated innovations are extended through the procedure described above, they are plugged into Eq. (72) with bootstrapped regression residuals to calculate the extended seasonal innovations. Under a bootstrapping approach, to simplify the regression model, one may relax the link between seasonal innovations and deseasonlized innovations, considering their correlations are small though sizable at times. A statistical survey of the correlations of the two components for natural gas shows that at most of the times the correlation between seasonal and deseasonalized innovations are quite small. Thus another approach to extend the time series for seasonal component may be as simple as the bootstrapping procedure described above.

Structural Breaks and Constant Conditional Correlation Tests

Structural breaks should indicate time points where a change of the model (or a change of the parameters of a given model) occurs. At least one aim of a structural-break identification procedure may be to detect off-line a break point in the available historical data that could lead, if undetected, to a model misspecification. Hereby, one considers structural breaks in volatility and correlations. The latter may be significant since a structural break in a constant conditional correlation setting may lead to incorrect formulation of a dynamic conditional correlation model. Generally, structural breaks detection may be based on two approaches: (1) fitting procedures of models explicitly containing structural breaks as parameters; and (2) (parametric or non-parametric) hypothesis tests.

FIG. 59 illustrates one example of an electrical battery system in accordance with various aspects of the disclosure. The electrical battery system comprises an electrical battery unit 285 and one or more clearinghouse computing devices 210 communicating over a network 205. The electrical battery unit 285 may comprise one or more rechargeable battery cells 283 and a charging input (depicted at the point of the incoming shaded arrow) from one or more electrical sources 281. Examples of electrical sources 281 include an array of solar panels, a windfarm, a nuclear power plant, a water dam, and/or other sources of power generation (including other forms of energy, such as oil, natural gas, and others). The electrical battery unit 285 further comprises a discharging output (depicted at the point of the outgoing shaded arrows) to at least one electrical consumer 286. The electrical consumer, in some instances, may be another electrical battery system 287, a residential house, a commercial factory, an electrical vehicle, and/or any other system or apparatus that consumes energy of any type.

In addition, the electrical battery unit 285 may be communicatively coupled over a network 205 with a clearinghouse computing device 210. The clearinghouse computing device comprises a processor and a non-transitory memory device storing instructions that, when executed by the processor, cause the clearinghouse computing device to use a wavelet processor 280 to perform wavelet decomposition, as described in great detail herein. The clearinghouse computing device may, in addition, perform a rolling methodology to deseasonalize a portfolio of energy products. After the portfolio has been deseasonalized, the margin calculator 240 of the clearinghouse computing device 210 may calculate a margin requirement on the portfolio of energy products. If the margin requirement for the portfolio has increased, then it may send, over the network 205, an instruction to the control switch 284 to activate the charging input on the electrical battery 285. When the charging input is activated, the electrical source 281 sends energy to charge the rechargeable battery cells 283. The cells 283 are charged until the level of charge (e.g., the value of the energy stored in the cells 283) is commensurate with the change in the margin requirement calculated by the clearinghouse computing device 210. Likewise, if the margin requirement for the portfolio has not increased, then the computing device 210 sends, over the network 205, an instruction to the control switch 284 to activate the discharging input on the electrical battery 285. When the discharging input is activated, the rechargeable battery cells 283 send energy to other electrical batteries 287 or to electrical consumers 286 commensurate with the change in the margin/collateral requirements.

The control switch 284 may be located in the electrical battery unit 285, or it may be communicatively coupled to the electrical battery unit 285. The switch 284 is configured to control the charging and discharging of the cells 283. Referring to FIG. 57, the control switch 284 may receive (in step 5702), over a network 205, an input from a clearinghouse computing device 210 to charge the one or more rechargeable battery cells 285. In response, the switch 284 may assess the state of the battery unit 285 then instruct (in step 5704) the cells 283 to increase its level of electrical storage through charging input provided by an electrical source 281. Meanwhile, if the switch 284 receives (in step 5706), over the network 205 k, an input from the clearinghouse computing device 210 to discharge the cells 283, then the battery unit 285 instructs (in step 5708) the one or more rechargeable battery cells to decrease its level of electrical storage through the discharging output to an electrical consumer 286, 287. It is through this charging and discharging that the clearinghouse computing system 210 can confirm that the appropriate margin/collateral requirements have been satisfied. The value of the energy may fluctuate as the price of the underlying raw product (e.g., natural gas, electricity, etc.) changes, thus the electrical battery unit 285 and clearinghouse system 210 may be in continuous, repeated, and/or regular communication.

CONCLUSION

The foregoing description of embodiments has been presented for purposes of illustration and description. The foregoing description is not intended to be exhaustive or to limit embodiments to the precise form explicitly described or mentioned herein. Modifications and variations are possible in light of the above teachings or may be acquired from practice of various embodiments. For example, one of ordinary skill in the art will appreciate that the steps illustrated in the illustrative figures may be performed in other than the recited order, and that one or more steps illustrated may be optional in one or more embodiments. The embodiments discussed herein were chosen and described in order to explain the principles and the nature of various embodiments and their practical application to enable one skilled in the art to make and use these and other embodiments with various modifications as are suited to the particular use contemplated. Any and all permutations of features from above-described embodiments are the within the scope of the invention. 

The invention claimed is:
 1. A system comprising: a clearinghouse computing device comprising a processor and a non-transitory memory device which stores computer executable instructions that, when executed by the processor, cause the clearinghouse computing device to: analyze, periodically, a portfolio database coupled with the processor, the portfolio database containing data indicative of a portfolio of positions in a plurality of products, the portfolio containing at least one position in a product whose value varies, at least in part, seasonally, to identify seasonal based variance in the portfolio without having to specifically identify the at least one position from among the remaining positions; and compute, based on the analysis, a margin requirement for the portfolio accounting for the identified seasonal variance; regulate, automatically based on the periodically computed margin requirement, storage of a commodity in a storage unit by sending an instruction thereto via a network coupled between the processor and the storage unit to one of increase or decrease an amount of commodity stored therein as a function of the periodically computed margin requirement; and wherein the computed margin requirement's accuracy as compared to an actual risk of loss of the portfolio is improved.
 2. The system of claim 1, wherein the computer executable instructions are further executable by the processor to cause the processor to regulate, automatically based on the periodically computed margin requirement, storage of a physical commodity in the storage unit coupled with the clearinghouse computing device, such that a value of an amount of the physical commodity stored in the storage unit satisfies the computed margin requirement.
 3. The system of claim 2, wherein the computer executable instructions are further executable by the processor to cause the processor to cause the storage unit to increase the amount of the physical commodity stored in the storage unit when the computed margin requirement increases from a prior value, and decrease the amount of the physical commodity stored in the storage unit when the computed margin requirement decreases from the prior value.
 4. The system of claim 2, wherein the physical commodity comprises energy.
 5. The system of claim 4, wherein the physical commodity comprises one of electricity, natural gas, heating oil, gasoline, or a derivative product thereof.
 6. The system of claim 2, wherein the storage unit comprises: a storage container; a storage controller coupled with the storage container and responsive to the clearinghouse computing device to one of accumulate more of in, or discharge the physical commodity from, the storage container.
 7. The system of claim 6, wherein the storage container is coupled with a source from which to obtain the physical commodity and a consumer to which to discharge the physical commodity.
 8. The system of claim 7, wherein the storage container comprises a rechargeable electrical device, the source comprising one or more of: an array of solar panels, a windfarm, a nuclear power plant, and a water dam, and the consumer comprising one or more of: another rechargeable electrical storage device, a residential house, an commercial factory, an electrical vehicle.
 9. The system of claim 1, wherein the computer executable instructions are further executable by the processor to cause the processor to identify the seasonal based variance in the data indicative of at least one position using wavelet decomposition.
 10. The system of claim 9, wherein the computer executable instructions are further executable by the processor to cause the processor to: receive data corresponding to a forward curve F_(τ)(t) at a fixed observation date as initial coefficients cj_(max)(k), where j_(max) is a monthly scale; extend N original filter coefficients due to boundary extensions; iteratively apply the following two algorithms J times; and $\begin{matrix} {p_{12} = \frac{{Cov}\left( {{p\; c_{1}},{p\; c_{2}}} \right)}{\sqrt{{Cov}\left( {{p\; c_{1}},{p\; c_{1}}} \right)}\sqrt{{Cov}\left( {{p\; c_{2}},{p\; c_{2}}} \right)}}} & (44) \\ {{{pc}_{k}\left( t^{\prime} \right)} = {\sum\limits_{j = 1}^{N}\;{{{PC}_{j\; k}\left( t^{\prime} \right)} \cdot {{R_{j}\left( t^{\prime} \right)}.}}}} & (45) \end{matrix}$ apply reconstruction filters to construct a split of the forward curve into a deseasonalized part and a seasonal part, having an applicable monthly scale.
 11. The system of claim 1, wherein the computer executable instructions are further executable by the processor to cause the processor to: generate a continuous time series of pricing information corresponding to a financial product held in a portfolio, the continuous time series of pricing information comprising a plurality of dimensions; apply reconstruction filters, to deseasonalize the continuous time series of pricing information; calculate a dimension-reduced projection of the deseasonalized continuous time series of pricing information based on a principle component analysis (PCA) technique; calculate a volatility normalization of the dimension reduced projection by performing volatility normalization of scores and volatility normalization of error terms of the dimension reduced projection of the deseasonalized continuous time series of pricing information to produce a plurality of volatility curves; determine an inter-curve and intra-curve correlation between the plurality of volatility curves; and generate an estimated value at risk based on the inter-curve and intra-curve correlation between the plurality of volatility curves.
 12. The system of claim 1, wherein the computer executable instructions are further executable by the processor to cause the processor to: construct a return time series for deseasonalized data using a rolling method; and preserve a phase invariant and contract month of seasonal components in the portfolio database due to the rolling method.
 13. A computer implemented method comprising: analyzing, periodically by a processor, a portfolio database coupled with the processor, the portfolio database containing data indicative of a portfolio of positions in a plurality of products, the portfolio containing at least one position in a product whose value varies, at least in part, seasonally, to identify seasonal based variance in the portfolio without having to specifically identify the at least one position from among the remaining positions; and computing, based on the analysis by the processor, a margin requirement for the portfolio accounting for the identified seasonal variance; regulating, automatically by the processor based on the periodically computed margin requirement, storage of a commodity in a storage unit by sending an instruction thereto via a network coupled between the processor and the storage unit to one of increase or decrease an amount of commodity stored therein as a function of the periodically computed margin requirement; and wherein the computed margin requirement's accuracy as compared to an actual risk of loss of the portfolio is improved.
 14. The computer implemented method of claim 13, further comprising regulating, automatically by the processor based on the periodically computed margin requirement, storage of a physical commodity in the storage unit coupled with the clearinghouse computing device, such that a value of an amount of the physical commodity stored in the storage unit satisfies the computed margin requirement.
 15. The computer implemented method of claim 14, further comprising causing, by the processor, the storage unit to increase the amount of the physical commodity stored in the storage unit when the computed margin requirement increases from a prior value, and decrease the amount of the physical commodity stored in the storage unit when the computed margin requirement decreases from the prior value.
 16. The computer implemented method of claim 14, wherein the physical commodity comprises energy.
 17. The computer implemented method of claim 16, wherein the physical commodity comprises one of electricity, natural gas, heating oil, gasoline, or a derivative product thereof.
 18. The computer implemented method of claim 14, wherein the storage unit comprises: a storage container; a storage controller coupled with the storage container and responsive to the processor to one of accumulate more of in, or discharge the physical commodity from, the storage container.
 19. The computer implemented method of claim 18, wherein the storage container is coupled with a source from which to obtain the physical commodity and a consumer to which to discharge the physical commodity.
 20. The computer implemented method of claim 19, wherein the storage container comprises a rechargeable electrical device, the source comprising one or more of: an array of solar panels, a windfarm, a nuclear power plant, and a water dam, and the consumer comprising one or more of: another rechargeable electrical storage device, a residential house, an commercial factory, an electrical vehicle.
 21. The computer implemented method of claim 13, wherein the analyzing further comprises: identifying, by the processor, the seasonal based variance in the data indicative of at least one position using wavelet decomposition.
 22. The computer implemented method of claim 21, further comprising: receiving, by the processor, data corresponding to a forward curve F_(τ)(t) at a fixed observation date as initial coefficients cj_(max)(k), where j_(max) is a monthly scale; extending, by the processor, N original filter coefficients due to boundary extensions; iteratively applying, by the processor, the following two algorithms J times; and $\begin{matrix} {p_{12} = \frac{{Cov}\left( {{p\; c_{1}},{p\; c_{2}}} \right)}{\sqrt{{Cov}\left( {{p\; c_{1}},{p\; c_{1}}} \right)}\sqrt{{Cov}\left( {{p\; c_{2}},{p\; c_{2}}} \right)}}} & (44) \\ {{{pc}_{k}\left( t^{\prime} \right)} = {\sum\limits_{j = 1}^{N}\;{{{PC}_{j\; k}\left( t^{\prime} \right)} \cdot {{R_{j}\left( t^{\prime} \right)}.}}}} & (45) \end{matrix}$ applying, by the processor, reconstruction filters to construct a split of the forward curve into a deseasonalized part and a seasonal part, having an applicable monthly scale.
 23. The computer implemented method of claim 13, wherein the analyzing further comprises: generating, by the processor, a continuous time series of pricing information corresponding to a financial product held in a portfolio, the continuous time series of pricing information comprising a plurality of dimensions; applying, by the processor, reconstruction filters, to deseasonalize the continuous time series of pricing information; calculating, by the processor, a dimension-reduced projection of the deseasonalized continuous time series of pricing information based on a principle component analysis (PCA) technique; calculating, by the processor, a volatility normalization of the dimension reduced projection by performing volatility normalization of scores and volatility normalization of error terms of the dimension reduced projection of the deseasonalized continuous time series of pricing information to produce a plurality of volatility curves; determining, by the processor, an inter-curve and intra-curve correlation between the plurality of volatility curves; and generating, by the processor, an estimated value at risk based on the inter-curve and intra-curve correlation between the plurality of volatility curves.
 24. The computer implemented method of claim 13, further comprising: constructing, by the processor, a return time series for deseasonalized data using a rolling method; and preserving, by the processor, a phase invariant and contract month of seasonal components in the portfolio database due to the rolling method.
 25. A system comprising: means for periodically analyzing a portfolio database containing data indicative of a portfolio of positions in a plurality of products, the portfolio containing at least one position in a product whose value varies, at least in part, seasonally, to identify seasonal based variance in the portfolio without having to specifically identify the at least one position from among the remaining positions; and means for computing, based on the analysis, a margin requirement for the portfolio accounting for the identified seasonal variance; means for regulating, automatically based on the periodically computed margin requirement, storage of a commodity in a storage unit by sending an instruction thereto via a network coupled between the processor and the storage unit to one of increase or decrease an amount of commodity stored therein as a function of the periodically computed margin requirement; and wherein the computed margin requirement's accuracy as compared to an actual risk of loss of the portfolio is improved.
 26. The system of claim 25, further comprising means for automatically regulating, based on the periodically computed margin requirement, storage of the physical commodity in a storage unit coupled with the clearinghouse computing device, such that a value of an amount of the physical commodity stored in the storage unit satisfies the computed margin requirement.
 27. The system of claim 26, further comprising means for causing the storage unit to increase the amount of the physical commodity stored in the storage unit when the computed margin requirement increases from a prior value, and decrease the amount of the physical commodity stored in the storage unit when the computed margin requirement decreases from the prior value.
 28. The system of claim 25, further comprising means for identifying the seasonal based variance in the data indicative of at least one position using wavelet decomposition.
 29. The system of claim 28, further comprising: means for receiving data corresponding to a forward curve F_(τ)(t) at a fixed observation date as initial coefficients cj_(max)(k), where j_(max) is a monthly scale; means for extending N original filter coefficients due to boundary extensions; means for iteratively applying the following two algorithms J times; and $\begin{matrix} {p_{12} = \frac{{Cov}\left( {{p\; c_{1}},{p\; c_{2}}} \right)}{\sqrt{{Cov}\left( {{p\; c_{1}},{p\; c_{1}}} \right)}\sqrt{{Cov}\left( {{p\; c_{2}},{p\; c_{2}}} \right)}}} & (44) \\ {{{pc}_{k}\left( t^{\prime} \right)} = {\sum\limits_{j = 1}^{N}\;{{{PC}_{j\; k}\left( t^{\prime} \right)} \cdot {{R_{j}\left( t^{\prime} \right)}.}}}} & (45) \end{matrix}$ means for applying reconstruction filters to construct a split of the forward curve into a deseasonalized part and a seasonal part, having an applicable monthly scale.
 30. The system of claim 25, wherein the analyzing further comprises: means for generating a continuous time series of pricing information corresponding to a financial product held in a portfolio, the continuous time series of pricing information comprising a plurality of dimensions; means for applying reconstruction filters, to deseasonalize the continuous time series of pricing information; means for calculating a dimension-reduced projection of the deseasonalized continuous time series of pricing information based on a principle component analysis (PCA) technique; means for calculating a volatility normalization of the dimension reduced projection by performing volatility normalization of scores and volatility normalization of error terms of the dimension reduced projection of the deseasonalized continuous time series of pricing information to produce a plurality of volatility curves; means for determining an inter-curve and intra-curve correlation between the plurality of volatility curves; and means for generating an estimated value at risk based on the inter-curve and intra-curve correlation between the plurality of volatility curves.
 31. The system of claim 25, further comprising: means for constructing a return time series for deseasonalized data using a rolling method; and means for preserving a phase invariant and contract month of seasonal components in the portfolio database due to the rolling method. 